Unknown macro: {metadata-list}
| Name | Troubleshooting |
|---|---|
| Space | Pylons CookBook |
| Section | |
| Page | Troubleshooting |
| Version | 1.0 |
| Status | Draft |
| Curator | Graham Higgins |
| Reviewed | False |
| Author(s) | [ |
Troubleshooting
Threads
If you suspect a thread-unsafe interaction is causing errors and you're using Paste's HTTP server, put this in your config file to prevent simultaneous requests and see if the problem goes away:
1 2 3 | [server:main] threadpool_workers = 1 threadpool_spawn_if_under = 1 |
Comments (2)
Jun 04, 2008
Alen Ribic says:
wouldn't this degrade performance? --alenwouldn't this degrade performance?
--alen
Jun 05, 2008
Eric Holmberg says:
Yes, it will require that all requests get processed by the single thread (seria...Yes, it will require that all requests get processed by the single thread (serially). I think the idea here is that this is a debug test to troubleshoot odd behavior, so you would do this on a test system, not your production system.