Hello I have a setup on nginx to count downloads. *location / {. post_action /afterdownload;* Here I have a value in $arg_key *location /afterdownload {* I need $arg_key here Any way to send it to /afterdownload section? Thank you --------------------------------------------------------------- Cristian Rusu _______________________________________________ nginx mailing list ngiby crirus - Nginx Mailing List - English
There is nothing in crontabs, "no crontab for apache" --------------------------------------------------------------- Cristian Rusu Web Development & Electronic Publishing Phone: 40 723 625 808 On Tue, Oct 22, 2013 at 12:49 PM, Antony Dovgal <tony@daylessday.org> wrote: > On 2013-10-22 13:32, Cristian Rusu wrote: > >> I set apache for them all, I know, apache iby crirus - Php-fpm Mailing List - English
I set apache for them all, I know, apache is fr httpd, but I had it around and used that name --------------------------------------------------------------- Cristian Rusu Web Development & Electronic Publishing Phone: 40 723 625 808 On Tue, Oct 22, 2013 at 11:25 AM, Antony Dovgal <tony@daylessday.org> wrote: > On 2013-10-21 16:09, Cristian Rusu wrote: > >> >> That'by crirus - Php-fpm Mailing List - English
That's what I have been investigating, however, the only cron is logrotate with a config like this /var/log/php-fpm/*log { size 5M missingok notifempty sharedscripts delaycompress weekly postrotate /bin/kill -SIGUSR1 `cat /var/run/php-fpm/php-fpm.pid 2>/dev/null` 2>/dev/null || true endscript } ----------------------------------------------------by crirus - Php-fpm Mailing List - English
Lines like this [21-Oct-2013 12:00:53] WARNING: child 83805 exited on signal 15 (SIGTERM) after 4387.926943 seconds from start All at once at specified hours. Also if it happens to be there in those 30 seconds until reload, I see Nginx errors in browser as if php-fpm is down.... bad gateway --------------------------------------------------------------- Cristian Rusu Web Development & Electby crirus - Php-fpm Mailing List - English
none of the usual places shows anything involving php-fpm --------------------------------------------------------------- Cristian Rusu Web Development & Electronic Publishing Phone: 40 723 625 808 On Thu, Oct 17, 2013 at 7:40 PM, Jérôme Loyet <jerome@loyet.net> wrote: > > https://www.google.fr/search?q=where+to+find+crontab&oq=where+to+find+crontab? > > > 2013/1by crirus - Php-fpm Mailing List - English
Where should I look for it? --------------------------------------------------------------- Cristian Rusu Web Development & Electronic Publishing Phone: 40 723 625 808 On Thu, Oct 17, 2013 at 7:38 PM, Jérôme Loyet <jerome@loyet.net> wrote: > maybe crontab which would have been setup by the package manager somehow ? > > > 2013/10/17 Cristian Rusu <crirus@gmail.com>by crirus - Php-fpm Mailing List - English
Hello Do you know about any setting in hp-fpm that will restart the server at regular intervals? I have a server that close all children and restarts at hours 12, 18, 0 and 6 each day no matter what and it's driving me crazy. Any hints appreciated... Thank you -- --- You received this message because you are subscribed to the Google Groups "highload-php-en" group. To unsubscriby crirus - Php-fpm Mailing List - English
Hello I have this issue trying to use post_action My config is like this: location / { post_action /afterdownload; .... .... .... location /afterdownload { proxy_pass http://78.140.165.80/download_counter.php?FileName=$request&status=$request_completion ; internal; } How to escape the content of $request so it's a valid URL? Right now the valueby crirus - Nginx Mailing List - English
Hello I set this to my nginx config to prevent users playing multiple videos at the same time: http { limit_conn_zone $binary_remote_addr zone=addr:10m; server { location ~ \.mp4$ { limit_conn addr 2; limit_conn_log_level info; This doesn't seems to prevent anyone from playing at least three videos at once... What am I doing wrong here? ---------------by crirus - Nginx Mailing List - English
I am also interested in a solution for lowering IO if possible. Let me know if there's any...by crirus - Ideas and Feature Requests
Hello It looks like you'r eon my spot right now. I learned directio is useless for large files as it set nginx to skip caching for anything larger than 512 Kb. If you have enough RAM (128MB maybe) you get to cache videos and avoid reading from HDD each time. Some other people here said aio is not ideally either at least on Centos, they said about FreeBSD but I have to google a bit on that. I maby crirus - Nginx Mailing List - English
Hello Well, we don't have a single box, we have a few setups with large slow HDDs and a couple of edge servers running on 1.5TB RAID SSD for actual streaming. Right now it's stable(70% max util) as we managed to write a caching code so basically the slow HDDs mainly feed the edges and only a few users at first. The edge servers are way faster and cope with 10Gbit bandwidth so far. I just hopedby crirus - Nginx Mailing List - English
I read alreayd, pagecache is a plugin for Magento? --------------------------------------------------------------- Cristian Rusu Web Developement & Electronic Publishing ====== Crilance.com Crilance.blogspot.com On Mon, Feb 4, 2013 at 2:34 PM, Jonathan Matthews <contact@jpluscplusm.com>wrote: > On 4 February 2013 07:00, Cristian Rusu <crirus@gmail.com> wrote: > > Pagecby crirus - Nginx Mailing List - English
Pagecache? --------------------------------------------------------------- Cristian Rusu Web Developement & Electronic Publishing ====== Crilance.com Crilance.blogspot.com On Sun, Feb 3, 2013 at 12:57 PM, Lukas Tribus <luky-37@hotmail.com> wrote: > > Yes, remove directio and aio, and let the pagecache handle load. Monitor > the performance and load carefully and report backby crirus - Nginx Mailing List - English
Hello I added some features to version 1.2.3, but since nginx moves forward, I'd like to see if there's a way to put those as permanent patch The features refers to limit_rate_after directive and a new one limit_rate_max, both used to control bandwidth. I changed limit_rate_after to take a variable as well, not just config. I also added limit_rate_max to control the speed of the initial bytesby crirus - Nginx Mailing List - English
I have Centos Linux with RAM 64GB, 18TB RAID 10 HDDs, CPU and load is practically 0, everything is in HDDs that hold the server back Should I remove directio? The server is mainly for streaming large video files or for direct download. Any particular setting I shuld make to nginx in this case to lower util? Thank you --------------------------------------------------------------- Cristian Rusuby crirus - Nginx Mailing List - English
Well the problem was the connection to remote server, not the session_start(), all good now... --------------------------------------------------------------- Cristian Rusu Web Developement & Electronic Publishing ====== Crilance.com Crilance.blogspot.com On Mon, Jan 28, 2013 at 6:51 AM, Dave Kierans <dkierans@gmail.com> wrote: > If it's a 30 second timeout it may be a DNS lookupby crirus - Php-fpm Mailing List - English
Hello Right now nginx manages to put hdds in the server to high util rate. I try to run Nginx 1.2.3 with aio support to deliver mp4 videos with the streaming module. I compiled the server with aio and it starts fine. In config I set it like this sendfile off; output_buffers 1 2m; #sndbuf=32K; aio on; directio 512; I read that sendfile should be off, but it won't sendby crirus - Nginx Mailing List - English
Hello Thanks for the reply I found out that session_start is just fine, problem is with a previous call on same session that hangs on some remote url reads. The second call is just blocked until the first either finishes or gets killed by timeout. --------------------------------------------------------------- Cristian Rusu Web Developement & Electronic Publishing ====== Crilance.com Criby crirus - Php-fpm Mailing List - English
Hello I keep getting occasional slow downs on the server, with no apparant relation to user count. It was slow at 800 users per second and now with 1300 is instant. I started logging slow scripts in php-fpm and I catch, this : [26-Jan-2013 19:02:42] pid 78697 script_filename = /var/www/html/v.php [0x00007fe0dea8eb28] session_start() /var/www/html/include/config.php:62 [0x00007fe0dea8a5a8] +++by crirus - Php-fpm Mailing List - English
Hello I was/am in similar situation where it works for a while then suddenly it chokes with Nginx 502 for few minutes then it's fine even at higher users per seconds than at choke time. I discovered lately that we should put the listen.backlog = 4096 or bigger usually the same as your sysctl somaxconn you can set that like echo 'net.core.somaxconn=4096' >> /etc/sysctl.conf sysctl -p Alsoby crirus - Php-fpm Mailing List - English
This is late, but do you have a solution taht worked?by crirus - How to...
Hello I have this server with Nginx that have like 4 subdomains and default localhost set. I also have as econd network card that have an internal IP 192.168.1.2. How can I define another server that will listen to the private IP only? Thanks --------------------------------------------------------------- Cristian Rusu Web Developement & Electronic Publishing ====== Crilance.com Crilance.by crirus - Nginx Mailing List - English
Hello I had an incident last night (between 9 and 11) where mginx reports a lot of error connect() failed (110: Connection timed out) while connecting to upstream However, php-fpm pool log is missing for that time, I only get usual errors after the downtime. I can't understand what causes the outage, it's not the first time and I missed each time to be on the server and manually check. Any cluby crirus - Php-fpm Mailing List - English
Hello I have this busy server with nginx+php-fpm+apc installed. Last night we had 1800 users per second. After some time, the mysql connection limit was reached. I am not sure that caused the php-fpm to hang, but it didn't restore itself until I reset it this morning. There was no load showing anywhere, mysql was fine, nginx was fine, I only restarted the php-fpm server and site was up again. Anby crirus - Php-fpm Mailing List - English
Yes, this worked, I was also trying to get an idea of that matching in my attempt... Why is $1 not matching right? --------------------------------------------------------------- Cristian Rusu Web Developement & Electronic Publishing ====== Crilance.com Crilance.blogspot.com On Wed, Nov 28, 2012 at 2:58 PM, Antonio P.P. Almeida <appa@perusio.net>wrote: > > On Wed, Nov 28, 20by crirus - Nginx Mailing List - English
On Wed, Nov 28, 2012 at 2:25 PM, Edho Arief <edho@myconan.net> wrote: > On Wed, Nov 28, 2012 at 7:11 PM, Cristian Rusu <crirus@gmail.com> wrote: > > Excellent, it worked > > > > I have another urgent matter on a server live we just switched to > > > > I need that links like this: > > http://www.example.com/?v=JYH253CT > > > > to be reby crirus - Nginx Mailing List - English
Excellent, it worked I have another urgent matter on a server live we just switched to I need that links like this: http://www.example.com/?v=JYH253CT to be rewritten as http://www.example.com/v.php?dl=JYH253CT Please help, server is down :( --------------------------------------------------------------- Cristian Rusu Web Developement & Electronic Publishing ====== Crilance.com Crilanceby crirus - Nginx Mailing List - English
Hello I have urls like example.com/123 I need them rewritten to example.com/?v=123 However, I want to skip certain directories from rewrite eg. example.com/status example.com/admin right now I have this: if (!-e $request_filename){ rewrite ^/(+)/?$ http://www.example.com/v.php?dl=$1redirect; } Problem is that all urls are rewritten.. how do I put some exceptions? Thanks for any suggestioby crirus - Nginx Mailing List - English