I can connect to the daemon, and it's memory usage went up a bit (from 0.2%
to 0.4%)
>>> print mc.get('foo')
bar

But after restarting apache and loading the page in a browser, memcache
doesn't get any bigger. And if I restart the memcache daemon and then
restart apache again, memcache stays on 0.2% memory usage - ie, no change :(

Oscar

On Tue, Jul 1, 2008 at 9:56 PM, Steven Armstrong <[EMAIL PROTECTED]> wrote:

>
> Oscar Carlsson wrote on 07/01/08 21:48:
> > I've checked the following logs, but nothing turned up:
> > /var/log/nginx*
> > /var/log/httpd* (apache)
> >
> > Previously, when something went wrong with the app, all error messages
> > appeared in /var/log/httpd-error.log, but this time - nothing.
> >
> > This is all the output I get when I restart apache (apachectl restart):
> >
> > [Tue Jul 01 21:46:02 2008] [notice] SIGHUP received.  Attempting to
> restart
> > [Tue Jul 01 21:46:02 2008] [warn] (22)Invalid argument: Failed to enable
> the
> > 'httpready' Accept Filter
> > [Tue Jul 01 21:46:03 2008] [notice] Apache/2.2.9 (FreeBSD) DAV/2
> > mod_wsgi/2.0 Python/2.5.2 configured -- resuming normal operations
> >
> > I also removed all *.pyc after adding 'debug=1'.
>
> I believe you wont see anything on starting apache but rather when the
> server starts serving requests.
>
> Apart from that, can you connect to the memcached daemon from the python
> prompt?
>
> e.g. does something like this work?
>
> import memcache
> mc = memcache.Client(['127.0.0.1:11211'], debug=1)
> mc.set('foo', 'bar')
> print mc.get('foo')
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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