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.

Do you really need syslog?

netomxnetomx Member
edited October 2012 in General

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

Comments

  • do you care your vps? :D

    Do you know Lake Toba?

  • This is heresy!!

    Thanked by 1netomx
  • netomxnetomx Member
    edited October 2012

    This is why

    [email protected]:~# free -m total used free shared buffers cached Mem: 128 16 111 0 0 9 -/+ buffers/cache: 6 121 Swap: 128 0 128 [email protected]:~# 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

    Security Consultant

  • Once in a blue moon, I do, yes.

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

    Memory issues solved.

    -- BOFH

  • @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 Provider
    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

    "Note that Romania has laws agains all the illegal activities just like US, including copyright. Is not the Dracula's country or no man's land as you thought." - Random email from someone I don't know, about nothing I've done or said

  • Tuxlite script does apache or nginx with php for you too

    Check my blog for more cool *nix tips & tricks!

Sign In or Register to comment.