LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-22-2014, 10:32 PM   #1
lamletoi
Member
 
Registered: Oct 2011
Posts: 46

Rep: Reputation: Disabled
Apache/PHP does not show images after refeshing website


I am receiveing a matter with my web server . I am hosting a DirectAdmin and Nginx at port 80 Reverse Proxy for Apache . When users continously access the sites(all sites) and make continously refresh. The site will be error :

Code:
No data received

Unable to load the webpage because the server sent no data.
Error code: ERR_EMPTY_RESPONSE
This log is show on browser, there is no log in server
How can i avoid this. I have a firewall(iptables) but i did not block any SYN connection with a time limitation. I also disable the firewall for test but no lucky.

I think it involve to the Nginx or Apache configuration but i have not tuned anything for nginx and apache jet. Thanks,

Last edited by lamletoi; 10-22-2014 at 10:34 PM.
 
Old 10-23-2014, 02:09 AM   #2
dubnik
Member
 
Registered: Dec 2006
Location: Slovakia
Distribution: Red Hat
Posts: 48

Rep: Reputation: 1
hi

if theres no web server logs it looks like a browser problem try different browser, delete hisotry...etc
 
Old 10-23-2014, 03:52 AM   #3
lamletoi
Member
 
Registered: Oct 2011
Posts: 46

Original Poster
Rep: Reputation: Disabled
Thanks dubnik,
But i check with all browsers and this error was noticed by my customer.
I think there is some way to config the apache or nginx.
I have turn KeepAlive On,MaxKeepAliveRequests=200 and KeepAliveTimeout 100 but no lucky.
There is no log in nginx as well as apache for me to post here(because i think its not an error...)
 
Old 10-23-2014, 04:01 AM   #4
dubnik
Member
 
Registered: Dec 2006
Location: Slovakia
Distribution: Red Hat
Posts: 48

Rep: Reputation: 1
it has nothing to do with web server, apache will log if it has some problem, maybe problems with php, zend optimizer and stuff like this.
 
Old 10-23-2014, 05:00 AM   #5
lamletoi
Member
 
Registered: Oct 2011
Posts: 46

Original Poster
Rep: Reputation: Disabled
Yes,
I think it maybe involve something like Zend.
I am using Opcache :
Code:
Overview

44%
memory usage

96%
hit rate

total memory: 512.000MB

used memory: 227.760MB

free memory: 284.240MB

wasted memory: 0.000 bytes (0%)

number of cached files: 1,782

number of hits: 48,186

number of misses: 1,782

blacklist misses: 0

number of cached keys: 2,305

max cached keys: 524,521

Enable real-time update of stats
General info
Zend OPcache 	7.0.3
PHP 	5.3.29
Host 	sv01.xxx.xx
Server Software 	Apache/2
Start time 	2014-10-20 03:42:06
Last reset 	never
Directives
blacklist filename 	no value
consistency checks 	no value
dups fix 	false
enable 	true
enable cli 	true
enable file override 	false
error log 	no value
fast shutdown 	true
force restart timeout 	180
inherited hack 	true
load comments 	true
log verbosity level 	1
max accelerated files 	400000
max file size 	no value
max wasted percentage 	0.05
memory consumption 	536870912
optimization level 	4294967295
preferred memory model 	no value
protect memory 	false
revalidate freq 	60
revalidate path 	false
save comments 	true
use cwd 	true
validate timestamps 	true
 
Old 10-23-2014, 05:13 AM   #6
dubnik
Member
 
Registered: Dec 2006
Location: Slovakia
Distribution: Red Hat
Posts: 48

Rep: Reputation: 1
try to disable zend optimizer and check if the error still appears.

And what php application is running on web server?(cms, your php site...)
Did you update something before error appears? (php version for example)
 
Old 10-23-2014, 06:00 AM   #7
lamletoi
Member
 
Registered: Oct 2011
Posts: 46

Original Poster
Rep: Reputation: Disabled
No lucky when i disabled Zend OpCache :
My sites are using wordpress.
After DirectAdmin setup the server with their script.i did not do update.

Code:
PHP 5.3.29 (cli) (built: Oct  4 2014 21:09:06) 
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies

Last edited by lamletoi; 10-23-2014 at 06:14 AM.
 
Old 10-23-2014, 06:18 AM   #8
dubnik
Member
 
Registered: Dec 2006
Location: Slovakia
Distribution: Red Hat
Posts: 48

Rep: Reputation: 1
another idea try to check your .htaccess if there is not some problem with redirection
 
Old 10-23-2014, 07:29 AM   #9
lamletoi
Member
 
Registered: Oct 2011
Posts: 46

Original Poster
Rep: Reputation: Disabled
deleted

Last edited by lamletoi; 10-23-2014 at 09:09 AM.
 
Old 10-23-2014, 09:57 AM   #10
dubnik
Member
 
Registered: Dec 2006
Location: Slovakia
Distribution: Red Hat
Posts: 48

Rep: Reputation: 1
it's definitely problem with wordpress (plugin bug, wrong .htaccess etc...) There're many solutions on google ... so try and you will find where's problem.
There's nothing wrong with web services.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache help: show website via ip and via url xmrkite Linux - Software 2 09-05-2014 04:18 PM
php website hosting problem on apache arafat khaliq Linux - Server 3 11-01-2010 02:50 PM
apache virtual host, images don't show newuser455 Linux - Software 4 07-14-2009 10:18 AM
Develope website in PHP with Mambo: Apache? Lead Expression Linux - Networking 2 09-19-2005 10:32 AM
show PHP-code in website Boby Programming 2 08-02-2004 04:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration