Hi There,
Since couple of days My Opensuse 12.1 Box started to lag when I heavily load it, it used to work fine but now am not sure why the memory gets 100% loaded and it stops responding.
I’ve investigated a bit the problem, and it seems new disks are being added to load the RAM as file system (tmpfs), never had them and I don’t know how to disable them now.
Apparently these file systems are used when swap is not working to make sure Linux won’t crash when its out of memory, but what got it disabled and how to get it back ?
My swap space can be found in /dev/sda6, when I tried to re-enable it :
Have you been messing with fstab? Because normally swap is the first entry as shown.
I doubt that makes a difference though, not sure.
Is there anything you have been fiddling with?
Well, I’ve tried to Increase the performance but am sure nothing has being changes in fstab, nor anything related to Swap, just disabled some services I don’t use and modifications to software I use all the time,
Should i Re-write fstab like you did above ?
this is when am only doing some small coding, PHP edits and such things
but when I start openGL simmulations, Play HoN and start Memory Intensive application
Memory Loads 100% same to CPU,
it never did this, Just the last week when TMPFS appeared TçT
I would trust that unfounded guess as much as your demonstrably mistaken assertion that swap wasn’t active. Better collect more evidence before jumping to conclusions.
I just love the English language.
I had to read that twice and I’m an Englishman with a moderate grasp of the language…
If only we could run it in a terminal and send ‘swap’ ballistic
> I’ve investigated a bit the problem, and it seems new disks are being
> added to load the RAM as file system (tmpfs), never had them and I don’t
> know how to disable them now.
Not possible to disable. They are in fact only one disk, and the files
there are temporary and small. You can check with “df”.
My goal is one day to be able to launch into a blistering denunciation of a deserving retard and hear him thank me for the compliments afterwards. >:) I’m currently studying the sayings of Captain Haddock.
On 12/09/2011 05:13 AM, Carlos E. R. wrote:
> On 2011-12-09 09:16, SAFAD wrote:
>
>> I’ve investigated a bit the problem, and it seems new disks are being
>> added to load the RAM as file system (tmpfs), never had them and I don’t
>> know how to disable them now.
>
> Not possible to disable. They are in fact only one disk, and the files
> there are temporary and small. You can check with “df”.
>
> See “http://lwn.net/Articles/436012/” for the long explanation.
Note: tmpfs has always been there. The change is the way it shows in the df list.
Please post the output of ‘free’ when you are having the “problem”.
On 12/09/2011 10:16 AM, SAFAD wrote:
> I’ve tried to Increase the performance
the GOOD news: your attempts to increase performance didn’t cause the
use of tmpfs (they have been there since the day you installed 12.1)
more GOOD news: your swap is working
even more GOOD news: it is common for very high levels of memory to be
in use (since RAM is much faster than the fastest hard disks, unused
memory is wasted memory)
probable bad news: in my opinion the cause of your “My Opensuse 12.1 Box
started to lag” is likely to be something you did when you “tried to
Increase the performance”…suggest you stop investigating swap, tmpfs
and memory usage (which all appear ok to me) and UNDO your performance
increasing actions until your box stops the lag…
On 12/12/2011 02:43 PM, Carlos E. R. wrote:
> On 2011-12-09 17:17, Larry Finger wrote:
>> On 12/09/2011 05:13 AM, Carlos E. R. wrote:
>
>
>> Note: tmpfs has always been there. The change is the way it shows in the df
>> list.
>
> Not really. The /run directory is new. Previously they were using space in /dev
these “problems” exist in an install of 12.1, and since the day 12.1 was
installed on the “problem” syatem, at least, tmpfs have always been there!!
no doubt about that.
–
DD
openSUSE®, the “German Engineered Automobiles” of operating systems!
On 2011-12-13 10:15, DenverD wrote:
> On 12/12/2011 02:43 PM, Carlos E. R. wrote:
> these “problems” exist in an install of 12.1, and since the day 12.1 was
> installed on the “problem” syatem, at least, tmpfs have always been there!!
>
> no doubt about that.
Yes, the tmpfs has been in use for a long time, but 12.1 has a new
directory at /run, bind mounted to /var/lock, /var/run and /media. This is
new, by design.