On Aug 31, 9:28 am, Olemis Lang <[email protected]> wrote:
> On Thu, Aug 20, 2009 at 5:13 PM, Lukasz Szybalski<[email protected]> wrote:
>
> > Hello,
> > I am uploading tickets to trac. 500 a day. After almost a month+ I've
> > received this error.
>
> > Traceback (most recent call last):
> [...]
> > xmlrpclib.Fault: <Fault 2: "'[Errno 31] Too many links:
> > '/home/trac/trac/attachments/ticket/32433'' while executing
> > 'ticket.putAttachment()'">
>
> This is not a failure in the client but run time error in the
> server-side instead (otherwise `xmlrpclib.Fault` wouldn't be the exc
> type being raised ;o) . Details are in the log file, and well possible
> root causes in the other msgs in this thread ;o)
>
> > Is there a way to close the xmlrpclib.ServerProxy. I think that is
> > what caused this error.
>
> So your client code (i.e. using ServerProxy) should be just fine ;o)
Yes the service proxy was ok. I initially thought that this was a
connection problem but it turned out to be ext3 problem.
In this case most of attaching is done via xmlrpc. We have reached the
ext3 filesystem limit, so nobody was able to attach any new
attachments to new tickets. First got the xmlrpc error, then google to
find it to be an ext3 limit. We were at ticket 31999 after 3 months.
We will be at 128,000 tickets after a year, so this is somewhat a
limitation that needs to be mentioned.
Since I was going on a week long vacation day after this error, I had
to act fast, and at this point the fastest solution was to switch to
xfs based fs. I've reinstalled debian on a separate pc with xfs. Now
that I'm back I need to resize ext3 filesystem on server, resize the
lvm and assign part of the space to xfs based partition, then move
back trac to the server.
This limitation should be mentioned int he "production installation
instructions". I've looked over the ticket that suggested the
structure should be changed for attachments, but I believe the
simplicity of having folder for ticket# and attachment in it is worth
switching over to xfs or ext4.
Thanks,
Lucas
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
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/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---