Guest User!

You are not Sophos Staff.

[8.281][DUPLICATE][OPEN] How can we do this intentionally?



And, the Kernal log begins with:
2011:11:19-11:10:35 post kernel: [74870.238218] afcd invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0

2011:11:19-11:10:35 post kernel: [74870.238227] Pid: 1633, comm: afcd Not tainted 2.6.32.48-1.g0e75e2f-default #1


And ends with:
2011:11:19-11:10:36 post kernel: [74895.023350] Out of memory: kill process 6110 (httpd) score 69325 or a child

2011:11:19-11:10:36 post kernel: [74895.023354] Killed process 1220 (index.plx)


I'm not sure what this was, but now we have:


Everyone needs to run this to clean out memory and fix CPU usage.  How can that be done? [:D]

Cheers - Bob
Parents
  • Regardless, this is not how you want things happening.


    I'm the first to admit that I don't know much about Linux internals, but I agree with up and William on that.  I do have some experience with virtual memory algorithms, so I was intrigued when the aftermath seemed to be an improvement on the situation prior to the beginning of the problem (memory leak because Dashboard was left up).

    And, I bet you're right that it was "8. because of #2, #3, and #4, there was lots of memory freed up, so when #7 happened, you now have free memory."  Maybe the devs already have looked at this issue and have determined that the "defrag" phenomenon doesn't last long enough to be useful, but I at least wanted to bring up the possibility.

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
Reply
  • Regardless, this is not how you want things happening.


    I'm the first to admit that I don't know much about Linux internals, but I agree with up and William on that.  I do have some experience with virtual memory algorithms, so I was intrigued when the aftermath seemed to be an improvement on the situation prior to the beginning of the problem (memory leak because Dashboard was left up).

    And, I bet you're right that it was "8. because of #2, #3, and #4, there was lots of memory freed up, so when #7 happened, you now have free memory."  Maybe the devs already have looked at this issue and have determined that the "defrag" phenomenon doesn't last long enough to be useful, but I at least wanted to bring up the possibility.

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
Children
  • Maybe the devs already have looked at this issue and have determined that the "defrag" phenomenon doesn't last long enough to be useful, but I at least wanted to bring up the possibility.

    The linux kernel is fairly robust but it will cache any free memory sitting around and with swappiness of 60 (astaro default) the system will start swapping fairly soon even with 2GB ram. I am not really sure how much performance tuning astaro folks are doing to the stock kernel since the product is more focused towards security and stability with performance coming in at third. 

    So the "performance jolt" you are looking for even if possible with some sort of memory compression wouldn't last but a few hours under optimum conditions and more than likely make some sub systems unstable if not completely inaccessible. There is NO substitute for fast processor and plenty of ram unfortunately, and with an all in one product like astaro, more of everything makes everyone happy[;)]

    Regards
    Bill.
  • Just had a thought... don't do this on production machine but just for fun. You can probably turn off swap and it will invoke oom as soon as it runs out of ram.

    On the console type
    /sbin/swapoff -a


    wait for the ram to run out and let the oom magic begin.

    Regards
    Bill.
Share Feedback
×

Submitted a Tech Support Case lately from the Support Portal?