Server performance warning: Drupal has too many files..!
ClearXSClearXS - June 13, 2010 - 00:57
new
This was the message I got from Bluehost -without mentioning Drupal- with only a few large Drupal installs and 2 Mediawiki's...
50,000 maximum files and maybe 5000 directories is their goal and that si what they only backup so its in every's client interest to stay below, but they can get nasty above 100,000 and shut down the account above 200,000 files
So my question: Please merge modules and their files and directories! All those silly translation files or whatever for tiny miny parts of info and unnecesary subdivisions; please get rid of them!
Then how to have ONE Drupal install with several DIFFERENT websites? Some modules are the same, but others are different, etc.
Technically Drupal could be written that all these different sites can be served with one installtion only. When serving different module large drupal sites with different installs, my account gets suspended...
P.S.: Think this should be an issue for all modules as well as core, but I'm afreight this message doesn't reach most module developers..?
Then couldn't every core version be compiled into one machine language file??! So that the modules, .htaccess and a few other files remain php, but the rest is just one big super-fast machine language?
Comments
Comment #1
drummComment #2
gagarine commented""So my question: Please merge modules and their files and directories! All those silly translation files or whatever for tiny miny parts of info and unnecessary subdivisions; please get rid of them!""
@ClearXSClearXS you should stop to "hasking" support like that. First a question end with a "?" not a "!"... secondly stop USING CAPITAL. And at the end.. don't suppose things are unnecessary just because you don't get it.
Anny way you can remove all .po files with one bash command (google it).
Comment #3
unleash commentedhello dear gagarine
hello all! Thanks for bringing up this issue! i have the same story here!
What do you mean with the following sentence: Anny way you can remove all .po files with one bash command (google it).
well i have the same issue here:
plz help me - just advice me what to do!
Comment #4
gagarine commentedYou never learn than cross-posting is a bad things?
http://drupal.org/node/474152#comment-5440114
http://drupal.org/node/1231106#comment-5440126
http://drupal.org/node/1396990
http://drupal.org/node/825990#comment-5440056
Comment #5
unleash commentedhello Gagarine
many many thanks for the quick reply - i did not want to cross post - but i am faced with a big big issue here - and i do absolutly not know what i can do to fix the thing!?
Dear Gagarine - what do you think about the issue?! You mentioned years ago the following sentence:
"Anny way you can remove all .po files with one bash command (google it)."
well i have the same issue here: What do you want to say with the above mentioned sentence!?
love to hear from you
greetings
unleash -
(and i do not want to cross post !!- plz advice!) Sorry for the cross-posting!
Comment #6
gagarine commentedI was answering this part of the question
For your problem, simply ask your server admin to increase the limit.
Comment #7
unleash commentedHello dear gagarine
many many thanks for the advice - i contact my server-admin and ask him to increase the file-handles on Apache
i am happy now that i know what causes the serious errors. The search is over!
Hope that the server will fit the needs and is performant enought to meet the Drupal-rerquirements.
if not - i do not hesitate to replace the old ( six years old ) machine with a new one.
Gagarine, again many thanks for your help!
Greetings
unleash!
Comment #8
unleash commentedhello gagarine
according your advice o "get rid of all those silly translation files or whatever for tiny miny parts of info and unnecesary subdivisions;"
i did a search
find -type f -name "*.po"
finds more than 970 language files...
i get rid of them - rm all those things
update;:
i did the search with
find -type f -name "*.po"
. well i found approx 930 files.
afterwards i did remove all them with
6.x-2.3 # find -type f -name "*.po" -exec rm -f {} \;
a final serach with that code
find -type f -name "*.po"
gave no results back so every po-file was erased!
Well i will try to install this lean - and leightweight package... I come back and report all the findings
greetings
unleash