Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Do you really need syslog?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Do you really need syslog?

netomxnetomx Moderator, Veteran
edited October 2012 in General

as title, do you really need syslogd on a vps?

Comments

  • do you care your vps? :D

  • This is heresy!!

    Thanked by 1netomx
  • netomxnetomx Moderator, Veteran
    edited October 2012

    This is why

    root@vks20446:~# free -m total used free shared buffers cached Mem: 128 16 111 0 0 9 -/+ buffers/cache: 6 121 Swap: 128 0 128 root@vks20446:~# ps ax PID TTY STAT TIME COMMAND 1 ? Ss 0:00 init [2] 2 ? S 0:00 [kthreadd/20446] 3 ? S 0:00 [khelper/20446] 287 ? S 0:00 /usr/sbin/syslogd --no-forward 323 ? Ss 0:00 /usr/sbin/apache2 -k start 329 ? S 0:00 /usr/sbin/apache2 -k start 340 ? Ss 0:00 /usr/sbin/dropbear -d /etc/dropbear/dropbear_dss_host_key -r /etc/dropbear/dropbear_rsa_host_key -p 2222 -W 65536 355 ? Ss 0:00 /usr/sbin/cron 412 ? S 0:00 /usr/sbin/apache2 -k start 413 ? Ss 0:00 /usr/sbin/dropbear -d /etc/dropbear/dropbear_dss_host_key -r /etc/dropbear/dropbear_rsa_host_key -p 2222 -W 65536 414 pts/0 Ss 0:00 -bash 419 pts/0 R+ 0:00 ps ax

  • Ders yer problem, you have Apache... ;')

    Thanked by 1tux
  • Once in a blue moon, I do, yes.

    That said, replace syslogd with syslog-ng, and replace apache2 with nginx.

    Memory issues solved.

  • netomxnetomx Moderator, Veteran

    @eastonch said: Apache... ;')

    @Wintereise said: replace apache2 with nginx.

    I just found easier to config apache2 than nginx in terms of php. I'm lazy, I will only serve files for myself. Just look at the ram used ;)

  • @netomx said: I just found easier to config apache2 than nginx in terms of php.

    Then use Cherokee.

  • jarjar Patron Provider, Top Host, Veteran
    edited October 2012

    Don't configure nginx for php, use minstall ;)

    Easiest way out holds no shame. Only a fool purposely takes an additional step for no reason.

    Thanked by 1ErawanArifNugroho
  • Tuxlite script does apache or nginx with php for you too

Sign In or Register to comment.