Re: all memory used after booting



Kai-Uwe Nielsen wrote:
* The Natural Philosopher <a@xxx>:
Kai-Uwe Nielsen wrote:
Hi,

* Jean-David Beyer <jeandavid8@xxxxxxxxxxx>:
Immediately after boot, or a while later? I have 8 GB RAM, and when I first
boot the machine, it takes only about 1/8 of the memory, but a day later...
No, _immediately_ after boot. Even when booting to single user modus.

Perhaps it's just grabbed it all for disk cache..

Yeah, 18 Gig grabbed for a filesystem thats less than 2 Gig
altogether...

But this thread can be closed. I have been stupid and didn't see the
obvious problem. It just came to my mind _after_ starting this thread.
After several days of struggling.

Well.

We use kickstart files for installation.
We do have certain templates.
We had an Oracle Consultant inhouse to optimize our database machines.
He did that and told us some additional stuff to be included in our
Oracle template.
This machine shall be a small standalone Oracle machine.
The settings were optimized for 64Gig machines.

So the story goes... And all the time I forgot that the Oracle include
in the template not only creates users and stuff, but also manipulates
/etc/sysctl.conf

I really should have found out sooner, stupid me. Just for sake of
completeness, this was the setting that grabbed all the memory:

[root@tux100p039 /etc]# free -m
total used free shared buffers cached
Mem: 18047 232 17815 0 18 150
-/+ buffers/cache: 62 17985
Swap: 2047 0 2047
[root@tux100p039 /etc]# sysctl vm.nr_hugepages=10000
vm.nr_hugepages = 10000
[root@tux100p039 /etc]# free -m
total used free shared buffers cached
Mem: 18047 17950 97 0 18 143
-/+ buffers/cache: 17788 258
Swap: 2047 0 2047

Now I go hide somewhere... ;-)


Yeah..i've done a days consulatncy to discover the bug in the template that broke everyone's network connection..after we had spent three defining exactly what it was to be, and the manager had our original, and had to admit that was NOT what was being installed.

;-)

Any consultant/sysadmin can recite you similar stories too..

Like the one who used EMACS to edit a config file with three hard links to it. Emacs renamed it to something.old,(or something) and created a new one of the original name, to which nothing pointed any more...


Regards,

Kai.


.



Relevant Pages

  • Re: Lengthy merge code
    ... I did this by having the main template, and then a bunch of referring ... It lives for merging. ... the chances are that the problem has nothing to do with memory. ... proprietary software package - I don't dare name it - and the merge ...
    (microsoft.public.word.mailmerge.fields)
  • [Full-disclosure] Oracle TNS Listener DoS and/or remote memory inspection
    ... Oracle TNS Listener DoS and/or remote memory inspection ... The TNS Listener can be crashed by an attacker causing a Denial of Service; ... Oracle was alerted to this flaw on the 22nd of June 2006. ... The views expressed in this email do not necessarily reflect NGS policy. ...
    (Full-Disclosure)
  • Oracle TNS Listener DoS and/or remote memory inspection
    ... Oracle TNS Listener DoS and/or remote memory inspection ... The TNS Listener can be crashed by an attacker causing a Denial of Service; ... Oracle was alerted to this flaw on the 22nd of June 2006. ... The views expressed in this email do not necessarily reflect NGS policy. ...
    (Bugtraq)
  • Re: Oracle 9.2.0.6 Memory leak
    ... Client applications received some ORA-4030 errors. ... Most of the memory was consumed by Oracle client and background ... this bug. ...
    (comp.databases.oracle.server)
  • Re: strange memory leak
    ... server that is going to host a new JDE EnterpriseOne implementation. ... So far, oracle & JDE are installed, and users are able to log in, ... the machine shipped with 8GB memory, ... When paging space fills up, it means that the system sends out ...
    (comp.unix.aix)