Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14941
| Path | csiph.com!fu-berlin.de!usenet.stanford.edu!not-for-mail |
|---|---|
| From | ABHISHEK PALIWAL <abhishpaliwal@gmail.com> |
| Newsgroups | gnu.bash.bug |
| Subject | Re: memory leak in bash only during boot up in Bash-3.2.48 |
| Date | Sat, 22 Dec 2018 14:17:34 +0530 |
| Lines | 53 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.6096.1545468501.1284.bug-bash@gnu.org> (permalink) |
| References | <1545198854891-0.post@n7.nabble.com> <a3333d09-32b2-d331-4eb7-f278b15ae9fb@case.edu> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| X-Trace | usenet.stanford.edu 1545468501 29924 208.118.235.17 (22 Dec 2018 08:48:21 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| Cc | Bug-bash@gnu.org |
| To | chet.ramey@case.edu |
| Envelope-to | Bug-bash@gnu.org |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1w6RiRJSvpqTJ1puIDRonh/xmea4uIIIyeo0rBhahoM=; b=QcxQahZqzeGzyNDrzCXO97QnNkdsev0/FaQwn3/fXt9iUsOq+0UM5Izq3lrK4QlkYb xcGayyj63WYI0ic7nkKp+3mzWw6Q4XqavPPD9TRUY+Vz/k809TnmPTc6VxX0wJ+xitvQ mRqc/VOx6+/LKhAJRFSAhohhK/d9o+HWq28Lx9i3Kvmd1f/5lrDy9yqCPNSKhwDak5Vk CSm2ZEQBYItfrtyF3HWU9brdY5kjyqLhhic2Ae6KhEd7szX4Xrj+RYXana3cHmKsZQQB WpASBLAXHeKEeTltDI3u5pobOAsbKxB/7TbvQ2W8B/4LFAW83YaglhzvJnntvf/GMg/I j4Dw== |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1w6RiRJSvpqTJ1puIDRonh/xmea4uIIIyeo0rBhahoM=; b=TsSHyFpb1DzXvWePt4Jgs94Qxd/k7XuBydM4PEL8oEfmRPtnMFBRQ1mx/eSL1CHN5F tNi7WAe9G0auan9ibkTzJn7x/hs0uv+PDASCYRknbFc+q7sjBzuAooGaDVKhcnjJdndN Ob7AX0E4Ob8UiE+KdeQQaEF0GpsMRcuAUS12etmcfaER7wFjtSn2rt+XIRAIpo/rM2gS +Mykt4B4WM3Yibv9CqcADZY4iyh4FMF9QQSnOKpGU7o5GTaW1fLuJaz8o2MHebOcNJ5k 5Wm9Yq/ensA995r55ln2/a4JLX0+sZn/Gzl6lV5xXfJLetWAMd0iJCGJEl3BV10rkGnQ f91Q== |
| X-Gm-Message-State | AJcUukesxOXuEZGsVNzuXMytuW2/4g1ZzRkpJ55res8Q0PUClUMDwRH2 ounEC8/hT5fZPIecdJv5RuUiYu84reeBRRqo69s= |
| X-Google-Smtp-Source | ALg8bN6RkLA7t0Rjx7PENhbomgXwiIlvQL7nErokSILcaVIassv13WRUej/8EpC93W62KmHb3mM3tdb5GD0cBwWYqxU= |
| X-Received | by 2002:a9d:781:: with SMTP id 1mr3599102oto.250.1545468490935; Sat, 22 Dec 2018 00:48:10 -0800 (PST) |
| In-Reply-To | <a3333d09-32b2-d331-4eb7-f278b15ae9fb@case.edu> |
| X-detected-operating-system | by eggs.gnu.org: Genre and OS details not recognized. |
| X-Received-From | 2607:f8b0:4864:20::335 |
| X-Content-Filtered-By | Mailman/MimeDel 2.1.21 |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.21 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <http://lists.gnu.org/archive/html/bug-bash/> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| Xref | csiph.com gnu.bash.bug:14941 |
Show key headers only | View raw
Hi Chet, >What is the hard limit on the number of processes for a process started in >this environment? (The value of `ulimit -n'.) Here are the Hard and soft limits for open files and max user processes. root@localhost:/root> ulimit -Hn 1024 root@localhost:/root> ulimit -Hu 516046 root@localhost:/root> ulimit -Su 1024 root@localhost:/root> ulimit -Sn 1024 Regards, Abhishek On Fri, Dec 21, 2018 at 10:20 PM Chet Ramey <chet.ramey@case.edu> wrote: > On 12/19/18 12:54 AM, abhishpaliwal wrote: > > create a shell script from below given code. name it testing.sh. > > > > #!/bin/bash > > logger "Started testing" > > while(true); do > > while (true); do ls > /dev/null ; done > > done > > > > Steps. > > # chmod 755 /root/testing.sh > > modify any /etc/init.d/"service" file add "/root/testing.sh" inside the > > start case. > > "service" is any service file starting during start up. > > Make sure above service is started during the startup. > > What is the hard limit on the number of processes for a process started in > this environment? (The value of `ulimit -n'.) > > -- > ``The lyf so short, the craft so long to lerne.'' - Chaucer > ``Ars longa, vita brevis'' - Hippocrates > Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/ > -- Regards Abhishek Paliwal
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: memory leak in bash only during boot up in Bash-3.2.48 ABHISHEK PALIWAL <abhishpaliwal@gmail.com> - 2018-12-22 14:17 +0530
csiph-web