Redmine shut down httpd, sqld, sshd and postfix servers :(
Added by Vishal Mehta over 12 years ago
Have my Redmine server hosted on a rackspace cloud server of 256 MB RAM and 10 GB space.
While uploading a particular document, redmine seems to have suddenly crashed and that shut down the httpd, sqld, sshd and postfix servers on my rackspace instance.
I checked the permissions in /var/www/redmine (my home directory of redmine) using list --l command and found that the permissions were
drwxrwxr-x 16 apache root 4096 Jul 28 17:13 redmine
I changed them to
drwxrwxr-x 16 apache apache 4096 Jul 28 17:13 redmine
Do I have to do anything else to ensure redmine does not such shutting down again?
Replies (4)
RE: Redmine shut down httpd, sqld, sshd and postfix servers :( - Added by Jan Niggemann (redmine.org team member) over 12 years ago
First, I don't think that your redmine application server can cause a disruption of those services.
Second, there is no difference in the ls -l
output you posted, both lines have drwxrwxr-x, but it doesn't matter anyhow.
I'd say your whole server went down or has been breached.
RE: Redmine shut down httpd, sqld, sshd and postfix servers :( - Added by Vishal Mehta over 12 years ago
Don't think so... this time, mysqld alone was shut down!!!
Any idea where can I see the logs to identify if redmine is doing this?
RE: Redmine shut down httpd, sqld, sshd and postfix servers :( - Added by Jan Niggemann (redmine.org team member) over 12 years ago
I assume from your ls -l
that you're using some flavor of Linux and unless you're running your application server under a privileged account like root it's near impossible that redmine as an application can cause other services to shutdown.
RE: Redmine shut down httpd, sqld, sshd and postfix servers :( - Added by William Roush over 12 years ago
Check your httpd error logs.
Being as everything stopped, I'm assuming you ran out of swap space and Linux started terminating processes (need more RAM or finer tweaking of your allocation settings).
How large is the document? Try it again but while running top or monitoring "free -m" using watch.