[CentOS] inquiry about limitation of file system

2018-11-03 Thread yf chu
I have a website with millions of pages. We often deploy our websites on centos with Nginx and Apache Http Server as HTTP Web Server. I am very worried about the performance of web server if the amount of pages is very very large. I wonder whether the performance will be affected if there are

Re: [CentOS] inquiry about limitation of file system

2018-11-03 Thread yf chu
ot; wrote: >On 03.11.2018 08:44, yf chu wrote: >> I have a website with millions of pages. >> >does 'millions of pages' also mean 'millions of files on the file system'? > >just a hint - has nothing to do with any file system as its universal: >e.g. when you have 1

Re: [CentOS] inquiry about limitation of file system

2018-11-03 Thread yf chu
John Smoogen" wrote: >On Sat, 3 Nov 2018 at 04:17, yf chu wrote: >> >> Thank you for your hint. >> I really mean I am planning to store millions of files on the file system. >> Then may I ask that what is the maximum number of files which could be >>

Re: [CentOS] A question about why the function "recv" return 0

2018-12-17 Thread yf chu
at 01:30:14PM +0800, yf chu wrote: >> I am a website developer. We deploy a Nginx server on centos to provide >> HTTP services. Recently, some customers of our website were complaining >> about that occasionally they could not open the webpage, the web browser >> show that the

[CentOS] A question about why the function "recv" return 0

2018-12-16 Thread yf chu
I am a website developer. We deploy a Nginx server on centos to provide HTTP services. Recently, some customers of our website were complaining about that occasionally they could not open the webpage, the web browser show that the tcp connection was reset. I checked the Nginx logs and source

[CentOS] In centos, how to switch to default gcc after switched to a higher version of gcc with devtoolset.

2018-11-30 Thread yf chu
I want to install several gcc with different versions in centos. The default version of gcc in centos6 is 4.9.3. So I use devtoolset install a higher version of gcc. Then I switch to the higher version of gcc by executing "source /opt/rh/devtoolset-5/enable". But now if I want to switch back to

[CentOS] No ack packet for tcp SYN with window scale of 64

2019-04-15 Thread yf chu
I have found a very strange problem. We found that the time of establishing the websocket connection between mobile phone and server was too long. Then I use tcpdump to capture the data and found that the problem maybe has something to do with window scale option in SYN packet. Here is the SYN

Re: [CentOS] Disk read io very high, but no process perform io read

2021-03-11 Thread yf chu
xperienced the problem. 在 2021-03-10 14:30:00,"Thomas Stephen Lee" 写道: >On Sat, Mar 6, 2021 at 6:37 AM yf chu wrote: >> >> no, not vm >> >> >> >> >> | | >> yf chu >> | >> | >> 邮箱:cyf...@163.com >> | >> &g

Re: [CentOS] Disk read io very high, but no process perform io read

2021-03-11 Thread yf chu
he problem. 在 2021-03-10 14:30:00,"Thomas Stephen Lee" 写道: >On Sat, Mar 6, 2021 at 6:37 AM yf chu wrote: >> >> no, not vm >> >> >> >> >> | | >> yf chu >> | >> | >> 邮箱:cyf...@163.com >> | >> &g

Re: [CentOS] Disk read io very high, but no process perform io read

2021-03-12 Thread yf chu
gt; the server which experienced the problem and the size of "free" is smaller >> than the size on the server which experienced the problem. >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> �� 2021-03-10 14:30:00��"Thomas Ste

[CentOS] Disk read io very high, but no process perform io read

2021-03-04 Thread yf chu
We have experienced a very weird problem. The load of the server machine is very high. We use "pidstat" and find that the disk read io is very high. But the processes running on this server do not perform any disk read operation. We also noticed that when we execute "top" command, for most of

[CentOS] SHR in top command is zero and major page fault is frequent

2021-03-08 Thread yf chu
Recently, I found that many processes in our server experienced high frequency of major page faults. The disk IO on this server is also very high. I also noticed that when I execute "top" command, for some processes, the value in SHR column became zero. when I restart these processes, the

Re: [CentOS] Disk read io very high, but no process perform io read

2021-03-05 Thread yf chu
I use pidstat and find all processes on this server perform read operation. but I don't know where these read operation come from | | yf chu | | 邮箱:cyf...@163.com | 签名由 网易邮箱大师 定制 On 03/05/2021 23:03, Joshua Kramer wrote: Install a program called iotop. iotop will show you, in real time

Re: [CentOS] Disk read io very high, but no process perform io read

2021-03-05 Thread yf chu
the processes on this server do not involve io read operation. the code is developed by ourself. so I don't know where these io read come from. by the way, pidstat only show disk io ,not network io, is that right? | | yf chu | | 邮箱:cyf...@163.com | 签名由 网易邮箱大师 定制 On 03/05/2021 16:33, Simon

Re: [CentOS] Disk read io very high, but no process perform io read

2021-03-05 Thread yf chu
no, not vm | | yf chu | | 邮箱:cyf...@163.com | 签名由 网易邮箱大师 定制 On 03/05/2021 23:37, Matthew Miller wrote: On Fri, Mar 05, 2021 at 03:54:14PM +0800, yf chu wrote: > We have experienced a very weird problem. The load of the server machine is > very high. We use "pidstat" and fi

[CentOS] enough free pages but high number of major page faults and page reclaims

2021-04-16 Thread yf chu
We find that for some servers io disk read is very high. We also notice that there are many major page faults on those servers. But we checked the /proc/zoneinfo, there are enough free pages. Here is the content of /proc/zoneinfo: pages free 3913507 min 11333 low