Path: csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.013 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:error': 0.03; 'receives': 0.04; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; "subject:')": 0.09; "subject:, '": 0.09; 'confuse': 0.16; 'enough.': 0.16; 'fine.': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'unexpected': 0.16; 'files.': 0.16; 'header:User-Agent:1': 0.23; 'error': 0.23; 'this:': 0.26; 'subject:/': 0.26; 'header:X-Complaints-To:1': 0.27; 'returned': 0.30; 'went': 0.31; 'writes:': 0.31; 'file': 0.32; 'framework': 0.33; 'something': 0.35; 'case,': 0.35; 'should': 0.36; 'application': 0.37; 'too': 0.37; 'sometimes': 0.38; 'server': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'does': 0.39; 'channel': 0.39; 'itself': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'simply': 0.61; 'received:217': 0.63; 'such': 0.63; 'charset:iso-8859-2': 0.64; 'services': 0.66; 'channels': 0.68; 'informed': 0.78; '1gb': 0.84; 'curl': 0.84; 'interaction.': 0.84; 'maybe,': 0.84; 'nagy': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: dieter Subject: Re: pycurl.error: (55, 'select/poll returned error') Date: Sat, 28 Mar 2015 07:43:11 +0100 References: <5514FFEE.4030204@shopzeus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: pd9e0880c.dip0.t-ipconnect.de User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux) Cancel-Lock: sha1:/y2fL/zs53gQTwH8FXODn2yzTdI= X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.19 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1427525010 news.xs4all.nl 2880 [2001:888:2000:d::a6]:51734 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:88204 Nagy László Zsolt writes: > When calling curl.perform() on a curl instance I get this: > > pycurl.error: (55, 'select/poll returned error') > .... > This error happens only if the file to be POST-ed is big enough. Last > week files were under 1GB and everything went fine. Files above about > 1GB cannot be sent over with curl. Web services sometimes have limits about the allowed size of uploaded files. I know about one web server application framework (Zope/ZServer) that simply shuts down its communication channel when it receives a too large file - such a behaviour can confuse the client. Maybe, in your case, the server side, too, does something unexpected when it receives large files? "select/poll" by itself has nothing to do with the size of files. It is used to get informed when one out a set of communication channels is ready (again) for interaction. In principle, it should not fail -- unless something strange happens to the communication channels.