Red Hat Bugzilla – Bug 87397
System crashes with hundreds of -bash spawned (1 user)
Last modified: 2007-04-18 12:52:27 EDT
Description of problem:
System will lock up after few seconds of use. Most notably
after logging in using ssh. A "ps -ef" reveals hundreds of -bash
spawned. After that, "cat /proc/meminfo" shows no memory left.
Bug, s/w gone bad, or Virus?
Version-Release number of selected component (if applicable):
7.3 All updates possible installed. (Have subscription)
Steps to Reproduce:
1.Login - especially with ssh
2."l" and "cd" some
3.check ps table and /proc/meminfo
System locks up after a few minutes.
Not lock up. Not spawn hundreds of -bash processes.
It will still crash eventually but if I don't log in
it may run several hours before locking up.]
Mainly/Only use ssh, mail and web page.
Samba, telnet and ftp not even on the system. I think my ipchains
is pretty strong. Also a 6 hour memory test reveals no errors.
This doesn't sound like a bash bug, but more like a misconfigured .bashrc in
your home directory or something. What's in .bashrc?
I commented EVERYTHING out in /home/(loginname)/.bashrc and
/etc/bashrc. Can't readily discover what is sucking up the memory now
but it slowly erodes away slow enough I am getting my data
dumped to another system and then will scratch the disk.