velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claude Brisson <cla...@renegat.net>
Subject Re: Too many open files
Date Fri, 24 Oct 2008 00:37:57 GMT
At least, the characters look pretty nice...

Google translation gives:

"Ha ha 
 Where do you work?"


  Claude

On ven, 2008-10-24 at 08:20 +0800, bluejoe wrote:
> 呵呵
> 你是在哪上班的?
> 
> ----- Original Message ----- 
> From: "梁飞" <liangfei0201@163.com>
> To: "'Velocity Users List'" <user@velocity.apache.org>
> Sent: Thursday, October 23, 2008 9:44 AM
> Subject: 答复: Too many open files
> 
> 
> Linux ulimit default is 1024.
> 
> Append:
> ulimit -HSn 4096
> To:
> /etc/profile
> 
> Append:
> fs.file-max = 8192
> To:
> /proc/sys/fs/file-max
> 
> Shell:
> lsof -n |awk '{print $2}'|sort|uniq -c |sort -nr|more
> Display: size, ps
> 131 24204
> 57 24244
> 57 24231
> 56 24264
> 
> Shell:
> ulimit -a
> Display: item, value
> core file size           (blocks, -c) 0   
> data seg size            (kbytes, -d) unlimited    
> scheduling priority              (-e) 0   
> file size                (blocks, -f) unlimited    
> pending signals                  (-i) 128161   
> max locked memory        (kbytes, -l) 32   
> max memory size          (kbytes, -m) unlimited    
> open files                       (-n) 800000   
> pipe size             (512 bytes, -p) 8   
> POSIX message queues      (bytes, -q) 819200   
> real-time priority               (-r) 0   
> stack size               (kbytes, -s) 10240   
> cpu time                (seconds, -t) unlimited    
> max user processes               (-u) 128161   
> virtual memory           (kbytes, -v) unlimited    
> file locks                       (-x) unlimited   
> 
> -----邮件原件-----
> 发件人: user-return-20195-liangfei0201=163.com@velocity.apache.org
> [mailto:user-return-20195-liangfei0201=163.com@velocity.apache.org] 代表
> Erron Austin
> 发送时间: 2008年10月23日 2:46
> 收件人: Velocity Users List
> 主题: Re: Too many open files
> 
> We are using jboss with Apache Proxy running in front on jdk 1.5.
> Adrian,
> 
> Thanks for the suggestion.
> 
> 
> On Wed, Oct 22, 2008 at 11:57 AM, Glenn Holmer
> <gholmer@weycogroup.com>wrote:
> 
> > On Wed, 2008-10-22 at 10:43 -0400, Erron Austin wrote:
> > > We are experiencing a "too many open files error" in our application
> > running
> > > on Linux using Velocity Engine 1.5 and Velocity Tools 1.4.
> >
> > What app server?  What HTTP server?  Using mod_jk?
> >
> > --
> > ____________________________________________________________
> > Glenn Holmer                          gholmer@weycogroup.com
> > Software Engineer                        phone: 414-908-1809
> > Weyco Group, Inc.                          fax: 414-908-1601
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> > For additional commands, e-mail: user-help@velocity.apache.org
> >
> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Mime
View raw message