Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - bILLY

Pages: 1 2 [3]
31
Apache / Re: [Tutorial] Apache HTTP2 Module
« on: October 18, 2017, 01:05:10 AM »
Please correct ./configure make in step 3. Make, should be at new line.
Thanks for the great tutorial!!!

32
PHP / Re: PHP-FPM Integration
« on: September 12, 2017, 06:51:14 AM »
Okay, I will make test with the same versions, but all we know that the php-fpm is faster. Also Varnish and Nginx proxy reverse doesn't matter at this time, because I make tests on port 443 which is https:// and this port is listen directly by Apache:

tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      27658/varnishd     
tcp        0      0 192.168.1.102:82        0.0.0.0:*               LISTEN      17213/nginx: master
tcp        0      0 127.0.0.1:6082          0.0.0.0:*               LISTEN      27658/varnishd     
tcp6       0      0 :::80                   :::*                    LISTEN      27658/varnishd     
tcp6       0      0 :::8181                 :::*                    LISTEN      31255/httpd         
tcp6       0      0 :::443                  :::*                    LISTEN      31255/httpd         

33
PHP / Re: PHP-FPM Integration
« on: September 10, 2017, 09:08:30 AM »
Sorry, one correction beacause I cannot modify my post:

server1: RHEL 7.4, CentOS WebPanel, PHP 7.0.20, MariaDB, Apache 2.4.6 & Varnish Cache & Nginx Reverse Proxy

server2: RHEL 7.4, ISPConfig, PHP FPM 7.1.8, MariaDB, Apache 2.4.6

34
PHP / PHP-FPM Integration
« on: September 10, 2017, 07:55:00 AM »
Hello Folks,

I do some tests. Installed 2 Virtual KVM Servers with Red Hat Enterprise Linux Server release 7.4 (Maipo).

server1: RHEL 7.4, CentOS WebPanel, PHP 7.0.20, MariaDB, Apache 2.4.6

server2: RHEL 7.4, ISPConfig, PHP FPM 7.1.8, MariaDB, Apache 2.4.6 & Varnish Cache & Nginx Reverse Proxy

And server2 with PHP-FPM works faster at the same website which is based on wordpress.

Here are some results from apache bench:

server1: CentOS WebPanel, PHP 7.0.20
Server Software:        CentOS
Server Hostname:        XXXXX
Server Port:            443
SSL/TLS Protocol:       TLSv1.2,ECDHE-RSA-AES256-GCM-SHA384,2048,256

Document Path:          /
Document Length:        43234 bytes

Concurrency Level:      10
Time taken for tests:   43.213 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Total transferred:      4354000 bytes
HTML transferred:       4323400 bytes
Requests per second:    2.31 [#/sec] (mean)
Time per request:       4321.343 [ms] (mean)
Time per request:       432.134 [ms] (mean, across all concurrent requests)
Transfer rate:          98.39 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        9   29  16.2     26     111
Processing:   932 4171 656.1   4158    6073
Waiting:      569 3682 605.1   3654    5585
Total:        943 4200 661.2   4184    6108

Percentage of the requests served within a certain time (ms)
  50%   4184
  66%   4319
  75%   4400
  80%   4632
  90%   4844
  95%   5120
  98%   6062
  99%   6108
 100%   6108 (longest request)
server2: ISPConfig, PHP-FPM 7.1.8
Server Software:        Apache/2.4.6
Server Hostname:        XXXXX
Server Port:            443
SSL/TLS Protocol:       TLSv1.2,ECDHE-RSA-AES256-GCM-SHA384,2048,256

Document Path:          /
Document Length:        43247 bytes

Concurrency Level:      10
Time taken for tests:   6.636 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Total transferred:      4362700 bytes
HTML transferred:       4324700 bytes
Requests per second:    15.07 [#/sec] (mean)
Time per request:       663.595 [ms] (mean)
Time per request:       66.359 [ms] (mean, across all concurrent requests)
Transfer rate:          642.03 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        8   26  13.1     24      64
Processing:    93  613 195.9    617    1160
Waiting:       71  522 170.8    514    1052
Total:        104  640 194.4    640    1169

Percentage of the requests served within a certain time (ms)
  50%    640
  66%    696
  75%    725
  80%    775
  90%    865
  95%   1003
  98%   1163
  99%   1169
 100%   1169 (longest request)


Without PHP-FPM


With PHP-FPM


It seems website is more faster with PHP-FPM.

35
E-Mail / Re: Mail not work
« on: March 06, 2017, 06:58:36 PM »
Hello,

I can't receive emails too.
The test from network-tools.com shows as follow:

[Contacting xxx.com [46.10.xxx.34]...]
[Connected]
220 xxx.com ESMTP Postfix
EHLO test.network-tools.com
250-xxx.com
250-PIPELINING
250-SIZE 204800000
250-ETRN
250-STARTTLS
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
VRFY admin
402 4.5.1 VRFY command is disabled
RSET
250 2.0.0 Ok
EXPN admin
402 4.5.2 Error: command not recognized
RSET
250 2.0.0 Ok
MAIL FROM:<admin@Network-Tools.com>
250 2.1.0 Ok
RCPT TO:<admin@xxx.com>
451 4.3.5 Server configuration problem
[Unfavorable reply code, cannot continue]
RSET
250 2.0.0 Ok
QUIT
221 2.0.0 Bye
[Connection closed]

Also my DNS records is correct and I have a PTR record too:

# dig xxx.com mx +short
0 xxx.com.
# dig kvartirata.com a +short
46.10.xxx.34
# dig -x 46.10.xxx.34 +short
xxx.com.

mydomain = xxx.com
myhostname = xxx.com

Before my hostname was hsrv.xxx.com, but the mail server still cannot receive any mails.

36
CentOS-WebPanel Bugs / Re: Error 503 Backend fetch failed
« on: March 06, 2017, 10:18:49 AM »
Hello,

I fix the issue by changing the IP from public to local address in /etc/varnish/backends.vcl:

#backend cwp1921681220 { .host = "46.10.221.34"; .port = "82";}
backend cwp1921681220 { .host = "192.168.1.220"; .port = "82";}

And it works! :)

37
CentOS-WebPanel Bugs / Error 503 Backend fetch failed
« on: March 05, 2017, 05:21:41 PM »
Hi Folks,

I have CentOS 7 with CWP7 at my home server.
So my web server configuration fails, when I try Apache & Varnish Cache & Nginx Reverse Proxy.

tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      19534/varnishd     
tcp        0      0 192.168.1.220:82        0.0.0.0:*               LISTEN      19517/nginx: master
tcp        0      0 127.0.0.1:6082          0.0.0.0:*               LISTEN      19533/varnishd     
tcp6       0      0 :::80                   :::*                    LISTEN      19534/varnishd     
tcp6       0      0 :::8181                 :::*                    LISTEN      13822/httpd         

This is ok. Before I haven't saw any Nginx port also.

But the server is behind a router.
CWP Settings > Edit Settings:
Activate NAT-ed Mod: with local ip 192.168.1.220

I get Error 503 Backend fetch failed when I try to load any of websites.

[root@hsrv ~]# curl -I localhost
HTTP/1.1 200 OK
Server: nginx/1.10.3
Date: Sun, 05 Mar 2017 17:13:23 GMT
Content-Type: text/html
Vary: Accept-Encoding
Last-Modified: Tue, 24 Jan 2017 21:00:51 GMT
ETag: W/"13cd-546dd693ee6c0"
X-Cache: HIT from Backend
X-Varnish: 98344
Age: 0
Via: 1.1 varnish-v4
Connection: keep-alive

Also varnish and nginx is here.
The problem comes with Apache I think.
Before a year I fix the same problem by changing IP in apache vhosts template, bud didn't remember.

Can somebody advise?

Thanks!

38
Other / Excessive resource usage: hlds (29516 (Parent PID:29515))
« on: October 29, 2016, 01:44:48 PM »
Hello folks,

First I want to say my congratulations to all the CWP team for the big project!  :)

So I have installed CWP and manage my dedicated server by it. But I want to run CS:GO server. When I tried to install it I faced some resource limits. I get root email like this:

Subject: lfd on localhost: Excessive resource usage: hlds (29516 (Parent PID:29515))
Message:
Time:         Sat Oct 29 00:00:03 2016 +0300
Account:      hlds
Resource:     Process Time
Exceeded:     3036 > 1800 (seconds)
Executable:   /bin/bash
Command Line: -bash
PID:          29516 (Parent PID:29515)
Killed:       No

Is there a way to control CPU usage for each user by CWP ?

I want to give unlimited CPU usage for user hlds and CWP (if kill) to not kill the user process.

Can somebody help about that?

39
CSF Firewall / CSF Security Check Different results
« on: October 28, 2016, 08:41:33 PM »
Hello,

When I do an security check, there's one message difference between my ovz server and dedicated server.

Quote
Check for CloudLinux
You should consider upgrading to CloudLinux which provides advanced security features, especially for web servers

I get this as security warning on my dedicated one.

Can somebody explain me what is the difference ?

virt.: 2.6.32-042stab113.11 #1 SMP Fri Dec 18 17:32:04 MSK 2015 x86_64 x86_64 x86_64 GNU/Linux
dedi.: 2.6.32-642.6.1.el6.x86_64 #1 SMP Wed Oct 5 00:36:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

40
PHP / PHP doesn't work ...
« on: July 18, 2015, 08:52:13 PM »
Hello people,

I am very happy of new version of centos webpanel.

Already I think  Apache & Varnish Cache & Nginx Reverse Proxy is a crazy as sh*t!  :D :D :D

So I have a problem: when I try to open some PHP hosted site is always comes a download pop up and page does not execute even.

I have tried with all variants of web servers:
Apache Only
 Apache & Nginx Reverse Proxy (Nginx on port 80 and apache on port 8181)
 Apache & Varnish Cache (Varnish on port 80 and apache on port 8181)
 Apache & Varnish Cache & Nginx Reverse Proxy (Varnish on port 80, Nginx on port 82 and apache on port 8181)

and PHP still don't work.

Already I have rebuild apache and rebuild PHP by switching to 5.3 ... the result is the same.

Is there some workaraund or fix ?



You already can try to load my website www.batence.ga to see the result.

Pages: 1 2 [3]