[Bacula-users] Memory and swap usage, plus duplicated processes
2008-05-27 18:53:01
Hi,
I have a virtual server which I'm trying to backup with Bacula 2.2.8,
but it keeps crashing the machine. The machine has 256MB RAM allocated,
and 512MB swap space (minimal specs I know but it doesn't do a lot!)
While monitoring the server using top, when the backup starts the free
memory drops steadily from 200MB free down to 2MB, then hovers around
2-5MB. The swap space isn't touched. 5 minutes later the machine dies
with a memory allocation error, still with all 512MB swap space free.
My server provider tells me this is expected, that because it's a single
process eating into all the RAM, the server can't swap it. Is this
true? I have 2 other servers with the same provider, identical in every
way except they have 512MB RAM and 1GB swap, and they both backup just
fine.
Another thing that is different is that on this troublesome machine, the
bacula startup script (/usr/local/bacula/etc/bacula start) starts 3
bacula-fd processes, but on all my other machines it only starts 1. Is
there any reason for this?
On troublesome server (with backup job disabled):
root ~ # ps aux|grep bacula-fd
root 3160 0.0 0.5 13200 1392 ? Ss 21:55 0:00
/usr/local/bacula/sbin/bacula-fd -u root -g root -v -c
/usr/local/bacula/etc/bacula-fd.conf
root 3162 0.0 0.5 13200 1392 ? S 21:55 0:00
/usr/local/bacula/sbin/bacula-fd -u root -g root -v -c
/usr/local/bacula/etc/bacula-fd.conf
root 3163 0.0 0.5 13200 1392 ? S 21:55 0:00
/usr/local/bacula/sbin/bacula-fd -u root -g root -v -c
/usr/local/bacula/etc/bacula-fd.conf
On other servers (with backup job live as normal):
root ~ # ps aux|grep bacula-fd
root 11114 0.0 0.3 27208 1628 ? Ssl 19:26 0:00
/usr/local/bacula/sbin/bacula-fd -u root -g root -v -c
/usr/local/bacula/etc/bacula-fd.conf
-----------
As you can see from the following commands, killing all the processes
and starting them again produces the same results:
root ~ # ps aux|grep bacula-fd
root 3160 0.0 0.5 13200 1392 ? Ss 21:55 0:00
/usr/local/bacur/local/bacula/etc/bacula-fd.conf
root 3162 0.0 0.5 13200 1392 ? S 21:55 0:00
/usr/local/bacur/local/bacula/etc/bacula-fd.conf
root 3163 0.0 0.5 13200 1392 ? S 21:55 0:00
/usr/local/bacur/local/bacula/etc/bacula-fd.conf
root ~ # kill 3160
root ~ #
root ~ # ps aux|grep bacula-fd
root ~ #
root ~ # /usr/local/bacula/etc/bacula start
Starting the Bacula File daemon
root ~ # ps aux|grep bacula-fd
root 8255 0.0 0.5 13200 1392 ? Ss 23:48 0:00
/usr/local/bacula/sbin/bacula-fd -u root -g root -v -c
/usr/local/bacula/etc/bacula-fd.conf
root 8256 0.0 0.5 13200 1392 ? S 23:48 0:00
/usr/local/bacula/sbin/bacula-fd -u root -g root -v -c
/usr/local/bacula/etc/bacula-fd.conf
root 8262 0.0 0.5 13200 1392 ? S 23:48 0:00
/usr/local/bacula/sbin/bacula-fd -u root -g root -v -c
/usr/local/bacula/etc/bacula-fd.conf
Thanks,
Andy
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Bacula-users] Memory and swap usage, plus duplicated processes,
Andy Shellam <=
|
|
|