Howdy, Stranger!

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

Sign In with OpenID
Advertise on LowEndTalk.com

In this Discussion

Do you really need syslog?

Do you really need syslog?

netomxnetomx Member
edited October 2012 in General

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

Referral links: DigitalOcean referral link | Get 500MB free with Dropbox
New worker @ GVHv4 - New plans with 4GB RAM 100GB Unmetered HERE!

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

    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

    Referral links: DigitalOcean referral link | Get 500MB free with Dropbox
    New worker @ GVHv4 - New plans with 4GB RAM 100GB Unmetered HERE!
  • Ders yer problem, you have Apache... ;')

    Junior Pen Tester

    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.

    -- 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 ;)

    Referral links: DigitalOcean referral link | Get 500MB free with Dropbox
    New worker @ GVHv4 - New plans with 4GB RAM 100GB Unmetered HERE!
  • @netomx said: I just found easier to config apache2 than nginx in terms of php.

    Then use Cherokee.

  • JarJar Member, 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
  • 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.