Kbox Service Desk is not accepting the Attachments
Hi,
We have observed that Kbox Service Desk has stopped accepting the Attachments, whenever we try to attach some file it shows 'Discarded' under the attachment section. we have tried couple of file formats jpg, png etc.
Any Idea ! what causing this problem.
Regards,
Afzal
Answers (2)
Send a test attachment.
Go to Settings -> Support -> Troubleshooting Tools and download the K1000 Troubleshooting logs.
Extract the logs. I used 7zip, but most extract programs should be able to open a tar.gz.
In kbox_logs/kbox/kboxwww/logs try checking the following logs:
-
khelpdeskmailhandler_error
-
khelpdeskmailhandler_output*
-
kheldeskmailnotifier_error
-
khelpdeskmailnotifier_output*
In kbox_logs/kbox/tmp you can try looking at:
-
exim_mainlog*
-
exim_paniclog*
Hi,
While investigating the problem all I found in the logs were a bunch of ‘function.mkdir</a>]: Too many links” error messages and didn’t know exactly what it could mean. I could see we hadn’t run out of disk space but I knew “links” had to do with the file system.
So what is “Too many links” and how do we fix it? There was still plenty of disk space but the system was refusing to create a new subdirectory. As it turns out, there’s a limit on these.
So, I guess, that logging of every New Ticket creates an entry in the database with some details plus any attachments on the disk with new subdirectory. So each Ticket has database log entry and there is a corresponding directory to hold the attachments. This was going fine till they hit OS subdirectory limit 31,998 Tickets approx. (actual tickets number are greater than this as they have deleted couple of tickets.
As I understand, that file-system 31,998 subdirectories is the limit. Each subdirectory is considered a “link” by the system and this is where we get the somewhat cryptic “too many links” message.
So, I have deleted 600-700 and checked it again, Wow!!!! Kbox has started accepting the attachments again.
Regards,
Afzal