| Author |
Message |
Forum: Web Servers and Web App Development Topic: Apache or MySQL crash |
| robertstam |
|
Posted: Mon Jun 22, 2015 11:12 pm
|
|
Replies: 18 Views: 1992
|
| ... error - only way to solve this is to restart my linode since I'm unable to login ssh ... 1gb ram, ubuntu 14.04 with 256mb swap size. My apache/php/mysql configuration is according the ... 0 swap file size. Syslog Jun 23 04:09:02 www CRON[26655]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ... |
|
 |
Forum: General Discussion Topic: Recommended way to auto-reboot CentOS once per week? |
| Eethy |
|
Posted: Mon Aug 26, 2013 9:19 pm
|
|
Replies: 12 Views: 1926
|
| ... the system up to date I put this in root's crontab... 6 3 * * * /usr/bin/yum update -y 2>&1 ... question --> Sometimes an update requires a restart. So to deal with that, I'd like to somehow ... critical. In case it matters, I'll be running Apache, MySQL, and sshd. Any help or advice would ... |
|
 |
Forum: Web Servers and Web App Development Topic: Cron job to restart Apache every N hours Ubuntu 10.4 |
| hoopycat |
|
Posted: Tue Jun 26, 2012 9:31 pm
|
|
Replies: 7 Views: 7544
|
| If Linode stopped offering VPS service, I'd probably have to ditch them and go to Amazon; if that didn't work out, it's totally OpenVZ time. |
|
 |
Forum: Web Servers and Web App Development Topic: Cron job to restart Apache every N hours Ubuntu 10.4 |
| jebblue |
|
Posted: Tue Jun 26, 2012 8:03 pm
|
|
Replies: 7 Views: 7544
|
If cron were to go away I'd leave Ubuntu and go to straight Debian or if that didn't work out I'd go back to some RPM based distro. |
|
 |
Forum: Web Servers and Web App Development Topic: Cron job to restart Apache every N hours Ubuntu 10.4 |
| Guspaz |
|
Posted: Tue Jun 26, 2012 10:52 am
|
|
Replies: 7 Views: 7544
|
| You're right, I'm remembering some other cron-related change in Ubuntu. |
|
 |
Forum: Web Servers and Web App Development Topic: Cron job to restart Apache every N hours Ubuntu 10.4 |
| Vance |
|
Posted: Fri Jun 22, 2012 11:32 pm
|
|
Replies: 7 Views: 7544
|
|
 |
Forum: Web Servers and Web App Development Topic: Cron job to restart Apache every N hours Ubuntu 10.4 |
| obs |
|
Posted: Fri Jun 22, 2012 3:18 pm
|
|
Replies: 7 Views: 7544
|
| ...Ok yeah I hadn't had my morning cup of tea yet when I wrote that.... |
|
 |
Forum: Web Servers and Web App Development Topic: Cron job to restart Apache every N hours Ubuntu 10.4 |
| Guspaz |
|
Posted: Fri Jun 22, 2012 9:31 am
|
|
Replies: 7 Views: 7544
|
| Are you sure? At some point, Ubuntu got rid of crontab and the necessity to restart anything. |
|
 |
Forum: Web Servers and Web App Development Topic: Cron job to restart Apache every N hours Ubuntu 10.4 |
| Vance |
|
Posted: Fri Jun 22, 2012 12:44 am
|
|
Replies: 7 Views: 7544
|
| ... but think there are a few typos in there, and would suggest running crontab -e and adding the following line 0 * * * * /etc/init.d/apache2 restart (or you could use the following syntax instead) @hourly /etc/init.d/apache2 restart ... |
|
 |
Forum: Web Servers and Web App Development Topic: Cron job to restart Apache every N hours Ubuntu 10.4 |
| obs |
|
Posted: Thu Jun 21, 2012 12:29 pm
|
|
Replies: 7 Views: 7544
|
| As root run Code: crontab -e then add the following line
Code: 0 * * * * * /etc/init/apache2 restart Save the crontab and then run Code: restart cron
Once you've fixed your problem just remove that line and restart cron again. |
|
 |
Forum: Web Servers and Web App Development Topic: Cron job to restart Apache every N hours Ubuntu 10.4 |
| mxadmin |
|
Posted: Thu Jun 21, 2012 12:01 pm
|
|
Replies: 7 Views: 7544
|
| ... http://forum.linode.com/search.php?keywords=cron+apache+restart&terms=all&author=&sc=1&sf=all&sk=t&sd=d&sr=posts&st=0&ch=300&t=0&submit=Search ... |
|
 |
Forum: General Discussion Topic: cron.daily high IO/SWAP usage |
| Nuvini |
|
Posted: Mon May 21, 2012 4:45 am
|
|
Replies: 4 Views: 3160
|
| ... I have a Linode 512 that uses about 200M idle. Cron.daily runs at about 6.30AM and it's giving ... sometimes it uses more. This causes mainly apache to go OOM, and restart. I'd rather not have this all the time. Does anyone ... |
|
 |
Forum: Performance and Tuning Topic: Linode OOM, IO Spikes and CPU Spikes |
| mysavvydeals |
|
Posted: Thu May 05, 2011 6:59 pm
|
|
Replies: 4 Views: 3661
|
| ... day. To get it back up I constantly have to restart the server. Restarts have been made at least ... www-data 20 0 64676 33m 1168 D 1 3.9 0:01.88 apache2 4510 www-data 20 0 67772 34m 1268 D 1 4.1 ... be/4 root 27.09 M 0.00 B 39.20 % 60.46 % webmincron.pl 09:37:40 3857 be/4 mysql 12.88 M 760.00 ... |
|
 |
Forum: Performance and Tuning Topic: LAMP / Wordpress sporadic hangs... |
| warmowski |
|
Posted: Fri Feb 04, 2011 2:40 am
|
|
Replies: 4 Views: 5078
|
| ... root 2033 0.0 0.0 2376 676 ? Ss 2010 0:07 cron root 2053 0.0 0.0 0 0 ? S 2010 0:37 flush-202:0 ... Swap: 255 49 206 ************* /server-status Apache Server Status for cantstopthebleeding.com ... Current Time: Friday, 04-Feb-2011 06:00:30 UTC Restart Time: Friday, 04-Feb-2011 05:37:23 UTC Parent ... |
|
 |
Forum: Linux Tips, Tricks, Tutorials Topic: Linode PBX: CentOS 5.5 + Asterisk 1.4 + FreePBX 2.7 Tutorial |
| Mika1974 |
|
Posted: Sun Jun 06, 2010 1:17 pm
|
|
Replies: 10 Views: 24007
|
| ... to configure Iptables, Denyhosts, rkhunter, cronjob for security updates, configure sshd, configure ... mod_ssl openssl denyhosts rkhunter apachetop htop mlocate # iptables script for basic ... # start apache web server service httpd restart chkconfig httpd on # set ARI admin password ... |
|
 |
| Sort by: |