Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #70972
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <nh.jones01@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.033 |
| X-Spam-Evidence | '*H*': 0.93; '*S*': 0.00; 'deployed': 0.07; 'session.': 0.07; 'subject:application': 0.07; 'subject:How': 0.10; 'python': 0.11; 'thread': 0.14; 'apache': 0.15; 'loop.': 0.16; 'subject:when': 0.16; 'thanks,': 0.17; 'subject:request': 0.19; 'error': 0.23; 'sends': 0.24; 'second': 0.26; 'file': 0.32; 'checked': 0.32; 'maintaining': 0.32; 'open': 0.33; 'running': 0.33; 'created': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'shows': 0.36; 'subject:?': 0.36; 'hi,': 0.36; 'error.': 0.37; 'application': 0.37; 'being': 0.38; 'message-id:@gmail.com': 0.38; 'server': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'use.': 0.39; 'to:addr:python.org': 0.39; 'browser': 0.61; 'first': 0.61; 'address': 0.63; 'listening': 0.74; 'header:Reply-to:1': 0.77; 'reply-to:addr:gmail.com': 0.80; 'header:Return-Path:2': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:to:from:reply-to:subject:message-id:mime-version :content-transfer-encoding:content-type; bh=DF3e+8QKwh7yfpQpDxVDFb0G95E2yRlft36SnZs/FTk=; b=dM/p7WY3Rw34qLeFdMRQJjCQxrIP9pD/Asq0dj/ATjHm9B0wNshhqvw4ZTFgWsxWrj NyVP/jxe5rDMMxrGILSfRz+y45HJMv0eUF8HvidrfWcHq04Ywe5oQLtfgPmLHTX7EmWT DBU+JtPaZ2HiVuRqtpafNI4KFJsWal4hT3bsvB3I/+iLV5DJ3xkY+bKr5E8nKmxHr/l4 pmDl4HV+hkUFZ7/gzoAE4yQq0yMQGL744UU9ELECr9tiEPqfhp/q1MzvFDDFMNS9C/m0 lDaobdqV5R9id2XoqiC9t5NyZu2KwpRZelubhBAfbwEjQT5JtTBjW0NCA/6kAwZpJ3ty yjGg== |
| X-Received | by 10.66.121.164 with SMTP id ll4mr7829959pab.129.1399392449106; Tue, 06 May 2014 09:07:29 -0700 (PDT) |
| Date | Tue, 6 May 2014 16:07:27 +0000 |
| To | python-list@python.org |
| From | Norah Jones <nh.jones01@gmail.com> |
| Subject | How does apache runs a application when a request comes in? |
| X-Priority | 3 |
| X-Mailer | CatPHPMailer 5.1 (phpmailer.sourceforge.net) |
| MIME-Version | 1.0 |
| Content-Transfer-Encoding | 8bit |
| Content-Type | text/plain; charset="utf-8" |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| Reply-To | Norah Jones <nh.jones01@gmail.com> |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.9702.1399392458.18130.python-list@python.org> (permalink) |
| Lines | 10 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1399392458 news.xs4all.nl 2882 [2001:888:2000:d::a6]:47860 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:70972 |
Show key headers only | View raw
Hi, I have a python web application running on apache2 deployed with `mod_wsgi`. The application has a thread continuously running. This thread is a ZeroMQ thread and listening to a port in loop. The application is not maintaining session. Now if I open the browser and sends a request to the apache server the data is accepted for the first time. Now when second time I send the request It shows Internal server error. When I checked the error log file for traceback, It shows the ZMQError:- The address already in use. Does apache reloads the application on each request sent from the browser since so that the ZeroMQ thread is being created everytime and being assigned the port but since the port has already been assigned it shows error.... Thanks, Norah Jones
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
How does apache runs a application when a request comes in? Norah Jones <nh.jones01@gmail.com> - 2014-05-06 16:07 +0000
csiph-web