Solved

TWIxxxxx files filling up temp folder

Posted on 2011-02-25
7
319 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now