Author Topic: Server munching on huge chunk of resources  (Read 2705 times)

0 Members and 1 Guest are viewing this topic.

Offline Bonecrusher

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1397
  • High above
    • Zabijaka.pl
Server munching on huge chunk of resources
« on: August 05, 2014, 06:08:55 am »
wow havent posted anything here for a while  :-X

I'm getting notifications from my mate that one of my servers is eating up 99% of CPU's core. Do you think it might be the way certain scripts were coded? How can I possibly check that?

Im chill like that

Offline Bonecrusher

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1397
  • High above
    • Zabijaka.pl
Re: Server munching on huge chunk of resources
« Reply #1 on: August 07, 2014, 05:58:26 am »
Anyone?

Im chill like that

Offline homerofgods

  • Soldat Beta Team
  • Rainbow Warrior
  • ******
  • Posts: 2029
  • We can do better!
« Last Edit: August 07, 2014, 08:12:00 am by homerofgods »

Offline Bonecrusher

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1397
  • High above
    • Zabijaka.pl
Re: Server munching on huge chunk of resources
« Reply #3 on: August 08, 2014, 05:35:57 am »
hah funny enough i had killlogs dating back to the beginning of 2012

Im chill like that

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: Server munching on huge chunk of resources
« Reply #4 on: August 08, 2014, 06:21:38 pm »
hah funny enough i had killlogs dating back to the beginning of 2012

You might want to learn to use strace so you can get an idea as to what a process is doing / why it's using CPU. It probably would have shown you the process was browsing through the directory stuck on a readdir or similar.
There are other worlds than these