Solved

TWIxxxxx files filling up temp folder

Posted on 2011-02-25
7
340 Views
Last Modified: 2012-05-11
Ok, here is a strange one. I have recently taken over admin of several web sites at work. We use Red Hat with Joomla for the site creation.
in one of the sites the tmp folder keeps filling up with thousands of 0 byte files.
They all start with twi then are alpha numberic for the rest of the file name.
twiaaaaaa twiaaaaab currently I am in the 9's with twi9aaaaa  
When it runs out of letters it just adds another digit to the file name and keeps going.

The problem is once they reach a certain point they affect server tasks.
deleting them with rm only works to the 5th digit otherise it says too many files to delete.

I cant seem to determine the souce of the files and they are created at odd intervals througout the day and night.
Its been 5 days since I last cleard them out and I have over 90,000 this morning.

Ideas? Thoughts?

Thanks,
Dave
0
Comment
Question by:DaveN6TEB
  • 4
  • 2
7 Comments
 
LVL 4

Expert Comment

by:abodette
ID: 34981341
What all plugins do you use with the joomla sites?  I think I've seen temp files like that with a twitter plugin for simplemachines forums software.  Perhaps something similar?

A quick and dirty route would be to grep through the joomla directories for twi

0
 
LVL 28

Accepted Solution

by:
Jan Springer earned 500 total points
ID: 34981472
find /tmp -name "twi*" -exec rm -f {} \;

You could run it as a cron job and forget it.
0
 
LVL 28

Expert Comment

by:Jan Springer
ID: 34981477
Note:  you can also manually run find to initially delete the file as it does not have the same limitations as calling "ls" or "rm" directly.
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

Author Comment

by:DaveN6TEB
ID: 34999963
Thanks for the suggestions, I will look for the twitter reference.
Dave
0
 

Author Comment

by:DaveN6TEB
ID: 35020836
I found one twitter reference but I still can find what processis creating the tmp files.
0
 

Author Comment

by:DaveN6TEB
ID: 35072606
Still no luck. We do have a chat room on the site. I will get it shut down for a few hours and see if they stop.
0
 

Author Closing Comment

by:DaveN6TEB
ID: 36141548
Kind of treating the symptom and not the cause but this certinitly works.
Thanks,
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question