The Artima Developer Community
Sponsored Link

Python Buzz Forum
untitled

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Phillip Pearson

Posts: 1083
Nickname: myelin
Registered: Aug, 2003

Phillip Pearson is a Python hacker from New Zealand
untitled Posted: Oct 16, 2005 6:13 PM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Phillip Pearson.
Original Post: untitled
Feed Title: Second p0st
Feed URL: http://www.myelin.co.nz/post/rss.xml
Feed Description: Tech notes and web hackery from the guy that brought you bzero, Python Community Server, the Blogging Ecosystem and the Internet Topic Exchange
Latest Python Buzz Posts
Latest Python Buzz Posts by Phillip Pearson
Latest Posts From Second p0st

Advertisement

People have been reporting recently that pycs.net has been going down a lot. I just noticed a minute ago that it had stopped responding to queries, and also that one PostgreSQL process was indicating that it was doing a SELECT query for the the 'pycs' user. straceing the two processes revealed this:

# strace -p (pid of python process)
Process 10043 attached - interrupt to quit
send(4, "s_spam=0 AND usernum=377 AND pos"..., 42, 0 <unfinished ...>

# strace -p (pid of postgres process)
Process 10051 attached - interrupt to quit
send(8, "/www.pills-best.com/online-pharm"..., 8192, 0 <unfinished ...>

i.e., PyCS is sending an SQL query while Postgres is sending a response, presumably to another query.

I wonder what's happening here. It looks like PyCS has gone onto another DB query without finishing up the first one. Damn.

Comment

Read: untitled

Topic: Python Parsers Previous Topic   Next Topic Topic: Python Parsers

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use