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

drumm’s picture

Project: Drupal.org Redesign » Drupal core
Version: » 8.x-dev
Component: Modules » base system
Category: feature » support
gagarine’s picture

Status: Active » Closed (fixed)

""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).

unleash’s picture

hello 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!

unleash’s picture

hello 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!

gagarine’s picture

I was answering this part of the question

All those silly translation files or whatever for tiny miny parts of info and unnecesary subdivisions; please get rid of them!

For your problem, simply ask your server admin to increase the limit.

unleash’s picture

Hello 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!

unleash’s picture

hello 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...

linux-vi17:/home/martin/web_technik/drupal/commons_3_jan_12/commons-6.x-2.3/commons-6.x-2.3 # find  -type f -name "*.po"

./profiles/drupal_commons/modules/acquia/mollom/translations/._it.po
./profiles/drupal_commons/modules/acquia/mollom/translations/fr.po
./profiles/drupal_commons/modules/acquia/mollom/translations/._sv.po
./profiles/drupal_commons/modules/acquia/mollom/translations/sv.po
./profiles/drupal_commons/modules/acquia/mollom/translations/._fr.po
./profiles/drupal_commons/modules/acquia/mollom/translations/._nb.po
./profiles/drupal_commons/modules/acquia/mollom/translations/._pl.po
./profiles/drupal_commons/modules/acquia/mollom/translations/da.po
./profiles/drupal_commons/modules/acquia/mollom/translations/._cs.po
./profiles/drupal_commons/modules/acquia/mollom/translations/._hu.po
./profiles/drupal_commons/modules/acquia/mollom/translations/it.po
./profiles/drupal_commons/modules/acquia/mollom/translations/._nn.po
./profiles/drupal_commons/modules/acquia/mollom/translations/._th.po

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