No, problem still exists. sigh.

On Oct 5, 10:10 am, "Anderson Santos" <[EMAIL PROTECTED]>
wrote:
> Hello, everyone
>
> I am getting a strange "permission denied" error on database server running
> my site.
>
> I am trying to send bulk mail to a huge list, it was working fine few days
> ago but now it's dropping connections everytime. I had postgresql log
> configured just few days ago and it's full of  "unexpected EOF on client
> connection" and when sending the mailing as a standalone app I get the
> following error " File
> "/usr/local/lib/python2.5/site-packages/django/db/models/sql/query.py", line
> 1608, in execute_sql
>   cursor.execute(sql, params)
> psycopg2.OperationalError: could not send data to server: Permission denied"
>
> But in general it is OK, it sends the first emails but it just dies that way
> at some point when doing a random query (not in a specif query). Sometimes
> after 15 minutes execution, sometimes after 1 hour and half. I don't know if
> I am missing something. Most of things I have to send are cached, but it
> does some queries on database during the process to get user details and
> stuff like that.
>
> The website navigation is fine, I don't get any server error while
> navigating, but it seems raising "unexpected EOF on client connection"
> everytime.
>
> But even tho, I can't understand that unexpect EOF on my postgresql log. The
> server is just fine, accepting 250 connections and using much less then
> that, apache has between 15 process alive (it's prefork) so it's not
> resources and there are two servers (app+db) with a crossover connection so
> I doubt it's a connection problem.
>
> I don't know if it's a database misconfiguration, psycopg2 bug (I am using
> the version 2.0.7) or anything else I am missing. I also don't know how
> django deals with connection, if it's one per query, on per request and now,
> using it standalone, if it is by program so it makes even harder to me to
> figure out.
>
> Any help will be appreciate.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to