[Twisted-Python] twistedmatrix.com is in trouble...

Jean-Paul Calderone exarkun at twistedmatrix.com
Tue Jan 9 05:23:08 MST 2018


On Tue, Jan 9, 2018 at 6:49 AM, Barry Scott <barry.scott at forcepoint.com>
wrote:

> In case you have no noticed yet.
>

>
> web.Server Traceback (most recent call last):
>
> exceptions.IOError: [Errno 24] Too many open files:
> '/srv/t-web/config/vhosts/twistedmatrix.com/documents.rpy'
>

Thanks.  I saved the open files to ~root (in case someone wants to
investigate) and restarted the web server (bin/stop; bin/start).

Jean-Paul


> /srv/t-web/virtualenv/site-packages/twisted/web/server.py:185 in process
>
> 184        try:
>
> 185            resrc = self.site.getResourceFor(self)
>
> 186            if resource._IEncodingResource.providedBy(resrc):
>
> /srv/t-web/virtualenv/site-packages/twisted/web/server.py:791 in
> getResourceFor
>
> 790        request.sitepath = copy.copy(request.prepath)
>
> 791        return resource.getChildForRequest(self.resource, request)
>
> 792
>
> /srv/t-web/virtualenv/site-packages/twisted/web/resource.py:98 in
> getChildForRequest
>
> 97        request.prepath.append(pathElement)
>
> 98        resource = resource.getChildWithDefault(pathElement, request)
>
> 99    return resource
>
> /srv/t-web/virtualenv/site-packages/twisted/web/resource.py:201 in
> getChildWithDefault
>
> 200            return self.children[path]
>
> 201        return self.getChild(path, request)
>
> 202
>
> /srv/t-web/virtualenv/site-packages/twisted/web/rewrite.py:24 in getChild
>
> 23
>
> 24
>
> 25
>
> /srv/t-web/virtualenv/site-packages/twisted/web/resource.py:201 in
> getChildWithDefault
>
> 200            return self.children[path]
>
> 201        return self.getChild(path, request)
>
> 202
>
> /srv/t-web/virtualenv/site-packages/twisted/web/vhost.py:102 in getChild
>
> 101
>
> 102
>
> 103
>
> /srv/t-web/virtualenv/site-packages/twisted/web/resource.py:201 in
> getChildWithDefault
>
> 200            return self.children[path]
>
> 201        return self.getChild(path, request)
>
> 202
>
> /srv/t-web/virtualenv/site-packages/twisted/web/static.py:298 in getChild
>
> 297        if processor:
>
> 298            return resource.IResource(processor(fpath.path,
> self.registry))
>
> 299        return self.createSimilarFile(fpath.path)
>
> /srv/t-web/virtualenv/site-packages/twisted/web/script.py:64 in
> ResourceScript
>
> 63    try:
>
> 64        execfile(path, glob, glob)
>
> 65    except AlreadyCached as ac:
>
> /srv/t-web/virtualenv/site-packages/twisted/python/compat.py:248 in
> execfile
>
> 247        locals = globals
>
> 248    with open(filename, "rb") as fin:
>
> 249        source = fin.read()
>
> exceptions.IOError: [Errno 24] Too many open files:
> '/srv/t-web/config/vhosts/twistedmatrix.com/documents.rpy'
>
>
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20180109/51c10e40/attachment-0002.html>


More information about the Twisted-Python mailing list