Mário Armel Par
Dec 5 2006, 12:04 PM
Hello,
I just reached 32000 accounts in my plesk instalation.
The filesystem on my server is ext3, so i can't have more than 32000 accounts because the fileystem doesn't allow it.
Solution 1: Increase the max subdirectories that ext3 allows
Solution 2: change the home directory of the referred domain (i have others) to something like domain/a/all the account that start by a.
Can anyone help me to implemente any of these solutions?
Thanks
huck
Dec 5 2006, 12:10 PM
When you say 32000 accounts what type of "accounts" domains or user accounts?
Mário Armel Par
Dec 5 2006, 12:18 PM
QUOTE (huck)
When you say 32000 accounts what type of "accounts" domains or user accounts?
Hello!
i mean the useraccounts. i have around 40 domains and one of them just reached the 32000 user accounts, and therefore 32000 subdirectories of the folder of the domain.
huck
Dec 5 2006, 12:19 PM
I would need to check Plesk's support but Reiserfs does not have the 32K directory limit like ext3/ext2.
It would be a major backup/restore project but using Reiserfs would overcome this limit. It does better on lots of small files per directory than ext3 as well.
huck
Dec 5 2006, 12:21 PM
I assume very specifically you mean email accounts such that /var/qmail/mailnames will not allow more users? Or are these web users.
One simple solution could be adding a dedicated disk drive with a Reiserfs filesystem and then copying the data to this drive. Once the copy was complete you could mount this drive directly at /var/qmail/mailname/domain
or /var/www/vhosts/domain. I don't think plesk would care too much about that.
Mário Armel Par
Dec 5 2006, 12:24 PM
The accounts tha i am talking amount are email accounts.
So, according to you guys there is nothing i can do to fix it using just what i have?
I say this because my server is rented and i don't have a lot of flexibility to add new drives and so...
I saw something in the web to increase a flag in ext3_fs.h, which i did! but it didn't work.
Is there anyway to change the way plesk / qmail save the mailboxes?
thanks
James Jhurani
Dec 6 2006, 02:22 AM
have you actually hit this limit and received an error, or are you just assuming that you will have this problem? I dont think I have ever run into this on a ext2/3 file system. Especially with the size of some email queue's i've run into.
I believe the only limitation is the amount of available inodes.
If you have not hit this limit yet, cd into /var/qmail/mailnames/domain and mkdir a few times, and see if you end up with an error. I would suggest this method rather than trying to add it via the panel, and having it get half added, or some other head ache.
Mário Armel Par
Dec 6 2006, 03:39 AM
QUOTE (faze)
have you actually hit this limit and received an error, or are you just assuming that you will have this problem? I dont think I have ever run into this on a ext2/3 file system. Especially with the size of some email queue's i've run into.
I believe the only limitation is the amount of available inodes.
If you have not hit this limit yet, cd into /var/qmail/mailnames/domain and mkdir a few times, and see if you end up with an error. I would suggest this method rather than trying to add it via the panel, and having it get half added, or some other head ache.
Hello!
I have reached this limit. Trying to add a new folder gives me the error "no more links".
Thanks
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.