Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154637 - dev-scheme/drscheme plt-web-server cycles with 100% CPU and Mem after first request of a page.
Summary: dev-scheme/drscheme plt-web-server cycles with 100% CPU and Mem after first r...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Patrick McLean
Depends on:
Reported: 2006-11-09 22:56 UTC by Hector E. Gomez Morales
Modified: 2006-11-17 08:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

emerge-info (info,2.92 KB, text/plain)
2006-11-09 22:57 UTC, Hector E. Gomez Morales

Note You need to log in before you can comment on or make changes to this bug.
Description Hector E. Gomez Morales 2006-11-09 22:56:49 UTC
I start the plt-webserver with this command:
$ plt-web-server -p 9000

Then the server is up and all is fine, put in the moment I try to access any page with in the server CPU skyrockets to 100% and Memory usage skyrockets too. After some seconds swaping almost taking the system down if not killed asap.
Comment 1 Hector E. Gomez Morales 2006-11-09 22:57:32 UTC
Created attachment 101586 [details]
Comment 2 Hector E. Gomez Morales 2006-11-13 20:49:47 UTC
One schoolmate told me it had the same problem with web-server when trying to launch it with a non-root account (he is using Fedora) but when he launched it using root It run ok. I too was running it with my non-root account so I did a su and run the web-server and it run with no problems.
Any tips to run a profiler so I could narrow the problem?, I tried to search in my log of mails of plt-scheme mail list, google and their documentation but I haven't  found a way to do a profile of a program.
Comment 3 Patrick McLean gentoo-dev 2006-11-14 08:23:33 UTC
This really looks like an upstream problem, feel free to post it at the upstream bug database (they prefer you use the "report bug" in the internal "Help desk", or use this form:

Alternatively you can get whatever info you can and post it here, and I will file an upstream bug when I get a chance.

As for profiling, the most simple way is to run under strace and redirect stderr to a file ("strace command 2> command.strace"). Or if you want full profiling, you can try oprofile (
Comment 4 Hector E. Gomez Morales 2006-11-14 13:59:24 UTC
Yeah I have the same feeling this bug is an upstream bug, I will post it to the upstream bug repository. And thanks for the profiling links.
Comment 5 Patrick McLean gentoo-dev 2006-11-14 14:10:51 UTC
You can try dev-scheme/drscheme-259.200, it's RC release that I just committed. You will likely have to unmask it, but you can be sure they haven't already fixed the problem before submitting a bug.
Comment 6 Patrick McLean gentoo-dev 2006-11-17 08:51:37 UTC
This is definitely upstream.