[Anthill-pro] Failed to create directory.../anthill3/server/var/log/br34171

Uldis Karlovs-Karlovskis uldisk at ctco.lv
Fri Feb 1 09:29:04 CST 2008


Varban,

Yes You`re absolutely right in all of Your comments about my build system
and its customizations. It were needed to get functionality running one
Workflow in parallel many times. I have already configured my Clean-Up so it
is deleting all buildlifes older than 3 days and all "not needed". It is
running every 3 hours. Let`s see what will happen after 3 days.
So the only suggestion is to change file system. My sysadmins have the same
idea but it is big task to create new FS, test it, move all server to it
etc. I can`t show You how many folders there were because I`ve cleaned up
them to get server running. So I don`t know where is threshold. Imo it is
just not right to keep all logs in this way. I`m pretty sure another
customer will run into same problem from time to time.


[root at anthill ~]# df -i
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sda2               2.5M     75K    2.5M    3% /
/dev/sda1                50K      51     49K    1% /boot
tmpfs                   493K       1    493K    1% /dev/shm
/dev/sda6               113M    2.2M    111M    2% /export/storage0
/dev/sda3               1.0M    2.0K   1023K    1% /var

[root at anthill ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             9.7G  3.9G  5.4G  42% /
/dev/sda1             190M   44M  138M  24% /boot
tmpfs                 2.0G     0  2.0G   0% /dev/shm
/dev/sda6             436G  170G  244G  42% /export/storage0
/dev/sda3             3.9G  661M  3.1G  18% /var


Uldis Karlovs-Karlovskis, C. T. Co
uldis.karlovs-karlovskis at ctco.lv
 

-----Original Message-----
From: anthill-pro-bounces at lists.urbancode.com
[mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Varban
Sent: piektdiena, 2008. gada 1. februārī 17:13
To: AnthillPro user and support list.
Cc: 'AnthillPro user and support list.'
Subject: Re: [Anthill-pro] Failed to create
directory.../anthill3/server/var/log/br34171

Uldis,

this sounds like a file system limitation rather than linux kernel one.
What file system are you using?
In any case, can you send me the output of the following commands:
df -i
df -h
That will check the inode and space usage on your file system.
Also run
ls -al | wc -l
in the var/log directory to find out how many directories there are.
 From a previous email I see that your workflows have a bunch of jobs 
that compile, build and create artifacts of separate parts of the 
project - that seems like a scenario for one job with multiple steps 
rather than separate jobs?
I also see that you have a job at the beginning of a workflow that 
checks if a build is necessary - I would assume that in most cases that 
just creates a build life without actually doing anything - maybe 
assigning a special status to that buildlife and having a cleanup policy 
that would remove those buildlives every day (along with maybe cleaning 
up all but the latest 3-4 failed builds every day) would greatly reduce 
the number of subfolders?
And as a last resort you could look into moving the AnthillPro install 
to a partition with a file system that allows for a larger number of 
subfolders (reiserfs?).

Regards,
Varban
Uldis Karlovs-Karlovskis wrote:
> Hello!
> 
>  
> 
> I`m running into new problems with AntHill. I`ve been just waiting when 
> it will happen and now it is.
> 
> The folder var/log/ is reaching Linux kernel folders per directory limit 
> so then all processes in anthill is crushing. Now I have configured my 
> Cleanup to delete all history older than 3 days so threshold is not 
> reached anymore, but imo it is not normal - I want at least 5 days
history.
> 
>  
> 
> //Uldis Karlovs - Karlovskis//
> 
> //Build System and Deployment Administrator//
> 
> //System Configuration Management//
> 
> //C.T.Co//
> 
> //Mobile////: +371 29 345 210//
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
_______________________________________________
Anthill-pro mailing list
Anthill-pro at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill-pro




More information about the Anthill-pro mailing list