Show all posts by user
Introduce yourselves
AMP Admin wrote:
> What exactly is google_perftools_profiles and is it something we can benefit
> from in your opinion?
>
Have you tried Google?
http://code.google.com/p/google-perftools/wiki/GooglePerformanceTools
Now as to whether you could benefit from it, that's for you to decide
(though I'm thinking not...).
Jim
by
Jim Ohlstein
-
Nginx Mailing List - English
Igor Sysoev wrote:
> On Sun, Aug 30, 2009 at 11:00:10AM -0400, Jim Ohlstein wrote:
>
>
>> Igor Sysoev wrote:
>>
>>> On Sun, Aug 30, 2009 at 01:45:30AM +1000, Jeff Waugh wrote:
>>>
>>>
>>>
>>>> <quote who="Igor Sysoev">
>>>>
>>>>
>>>>
&
by
Jim Ohlstein
-
Nginx Mailing List - English
AMP Admin wrote:
> I ended up getting it to work with just the following line. No location or
> anything.
>
> rewrite ^.*-t([0-9]+).html$ /showthread.php?t=$1 last;
>
You might want to make that "last" into a "permanent".
That way a 301 is returned and you retain search engine ranking for the
page.
> thanks everyone for your help!
>
&g
by
Jim Ohlstein
-
Nginx Mailing List - English
Igor Sysoev wrote:
> On Sun, Aug 30, 2009 at 01:45:30AM +1000, Jeff Waugh wrote:
>
>
>> <quote who="Igor Sysoev">
>>
>>
>>>> 2009/08/29 23:15:52 8716#0: open socket #152 left in connection 105
>>>>
>>> This is probably after reconfiguraiton.
>>>
>> Sorry, yes, I should've
by
Jim Ohlstein
-
Nginx Mailing List - English
Igor Sysoev wrote:
> On Sat, Aug 29, 2009 at 01:58:11PM -0400, Jim Ohlstein wrote:
>
>
>> Igor Sysoev wrote:
>>
>>> On Sat, Aug 29, 2009 at 11:41:16AM -0400, Jim Ohlstein wrote:
>>>
>>>
>>>
>>>> We're dealing with a high degree of fraud from certain countries and
>>>> would like to simply
by
Jim Ohlstein
-
Nginx Mailing List - English
Igor Sysoev wrote:
> On Sat, Aug 29, 2009 at 11:41:16AM -0400, Jim Ohlstein wrote:
>
>
>> We're dealing with a high degree of fraud from certain countries and
>> would like to simply ban all IP's from those countries.
>>
>> I seem to recall reading here that using the Geo module is more
>> efficient for this purpose than the GeoIP module.
>&g
by
Jim Ohlstein
-
Nginx Mailing List - English
We're dealing with a high degree of fraud from certain countries and
would like to simply ban all IP's from those countries.
I seem to recall reading here that using the Geo module is more
efficient for this purpose than the GeoIP module.
Currently I have the following in nginx.conf:
geo $country {
include geo.conf;
}
where geo.conf is generated from MaxMind country lite csv
by
Jim Ohlstein
-
Nginx Mailing List - English
I don't write the software so I can't "make it compatible with cPanel". However, it's not likely to ever happen since .htaccess support will never be a part of nginx. Perhaps you want to pay for Litespeed? The reason that Litespeed is made compatible with cPanel is because it is a closed source commercial product and they are looking to expand their market. We're talking about free open
by
Jim Ohlstein
-
Other discussion
ryan14 Wrote:
-------------------------------------------------------
> Hi, I am going to be running a server with a
> php/mysql social networking site that has
> ssl(https) for login only and also css and
> javascript. I am trying to decide whether to use
> nginx OR apache.
>
> What are the pros and cons?
The big pro is low memory footprint and predictable respons
by
Jim Ohlstein
-
Other discussion
Igor Sysoev wrote:
> On Thu, Aug 20, 2009 at 10:42:40AM -0400, Jim Ohlstein wrote:
>
>
>> Igor Sysoev wrote:
>>
>>> On Thu, Aug 20, 2009 at 01:34:23AM -0400, Jim Ohlstein wrote:
>>>
>>>
>>>
>>>> 2009/08/20 00:50:42 13580#0: *112240 rename()
>>>> "/usr/local/nginx/fastcgi_temp/2/80/00
by
Jim Ohlstein
-
Nginx Mailing List - English
Igor Sysoev wrote:
> On Thu, Aug 20, 2009 at 01:34:23AM -0400, Jim Ohlstein wrote:
>
>
>> 2009/08/20 00:50:42 13580#0: *112240 rename()
>> "/usr/local/nginx/fastcgi_temp/2/80/0000009802" to
>> "/falcon/cache/f/f4/5a/7096031122aaf7e38913bec80d55af4f" failed (18:
>> Invalid cross-device link) while reading upstream, client:
>>
by
Jim Ohlstein
-
Nginx Mailing List - English
Igor Sysoev wrote:
> On Wed, Aug 19, 2009 at 12:48:12AM -0400, Jim Ohlstein wrote:
>
>
>> Igor Sysoev wrote:
>>
>>> Changes with nginx 0.8.9 17 Aug
>>> 2009
>>>
>>> *) Feature: now the start cache loader runs in a separate process;
>>> this should improve large caches
by
Jim Ohlstein
-
Nginx Mailing List - English
Welcome along! I see that you found the previously empty German forum. I created it by request but like most of those forums it is little used.
by
Jim Ohlstein
-
New Member Introductions
Hi and welcome.
Some initial feedback - first on your post above. We don't parse HTML in posts for security reasons and your links give 404's because of the end quote.
Now I haven't had time to read all of your posts (though what I did read is very informative and it is obvious that you put in *a lot* of time and effort), but my first humble suggestion is to get off of the legacy version of
by
Jim Ohlstein
-
New Member Introductions
OK, it seems to be a php issue. I tried using nginx -->Apache/php 5.2.6 and it worked fine in all browsers. Then I reverted from php 5.3.0 to 5.2.10 and went back to php-cgi using php-fpm and it worked fine in all browsers.
Please let me know how it looks on your end.
Thanks for your help.
by
Jim Ohlstein
-
Site Suggestions
Most proxies just forward the browser's request so I don't think that proves anything. All of those pages load fine for me using my direct connection and using a VPN on Forefox 3.0.13 but give me 502's on Opera, IE, and Chrome on XP. I didn't test my Linux or MacOS boxes.
I'm going to try using Apache instead of php-cgi and see what happens but it's going to be awhile till I have time to work o
by
Jim Ohlstein
-
Site Suggestions
On second thought, this may be browser related.
See http://forum.nginx.org/read.php?6,4793.
Please try other browser(s) and let me know what you see.
by
Jim Ohlstein
-
Site Suggestions
Please do NOT post forum related questions to a mailing list.
Review of the access logs shows the 502's are going only certain browsers. It works fine for me with Firefox 3.0.1.3. Please try using another browser (you are likely using Chrome or Safari or Firefox 3.5.x) and let us know.
by
Jim Ohlstein
-
Site Suggestions
I'm guessing the problem is on your end.
When I click the link I see what's in the attached screen shot:.
If you are able to reproduce it please post the time so I can look at the logs.
by
Jim Ohlstein
-
Site Suggestions
Cliff Wells maintains the wiki. Feel free to make the suggestion to him at http://wiki.nginx.org.
by
Jim Ohlstein
-
Site Suggestions
Do you have an index file explicitly stated in the config file?
index your-index-filename;
by
Jim Ohlstein
-
Other discussion
What is crashing? Is it the php-cgi processes? What do the logs show?
If it's php, you might consider using php-fpm to control your php processes. Many people have better luck with it.
Separate issue but you have far too many worker processes for a small VPS, unless you have access to five CPU cores, and even then, one or two will be enough.
by
Jim Ohlstein
-
How to...
There is no "mod_php" in nginx as there is in Apache. It is always by proxy, generally via fastcgi or to an Apache backend. I cannot tell from those headers which of those methods is in use.
by
Jim Ohlstein
-
Other discussion
Maybe you should consider that nginx on Windows does not exactly have a "vibrant" following and you're asking for "a basic guide on how to setup nginx" in your first post.
There are plenty of "basic guides" available, and this is something I don't like saying, but since you started, I will: "Google is your friend" when it comes to "basic guides"
by
Jim Ohlstein
-
How to...
Did you compile your own php? If you did, then recompile "--with-mcrypt". If not, consider compiling your own php anyway and use that option.
by
Jim Ohlstein
-
How to...
Try:
rewrite ^/play-([0-9]+) /play.php?id=$1 last;
rewrite ^/full-([0-9]+) f/ull.php?id=$1 last;
rewrite ^/cat-([0-9]+)?-p([0-9]+) /games.php?cat=$1&page=$2 last;
rewrite ^/profile-(.*)\.html$ /page.php?page=viewprofile&user=$1 last;
rewrite ^/page-(.*)\.html$ /page.php?page=$1 last;
rewrite ^/rss-(.*)\.xml$ /xml.php?action=$1 last;
rewrite ^/antispamnumber.jpg /antispamnumber
by
Jim Ohlstein
-
How to...
Hello,
That was inappropriate to post to the nginx mailing list!
The problem was likely a timeout at your end as there were five results when I just ran that search.
by
Jim Ohlstein
-
Site Suggestions
mike Wrote:
-------------------------------------------------------
> well yes, it is nit picking - of course, if you
> give it the other fpm
> options at configure time those are invalid too...
That's incorrect. Run
# ./configure --enable-fpm --enable-fastcgi
on a patched php-5.3.0 and it will kick out only "--enable-fastcgi" as an unrecognized option.
This is
by
Jim Ohlstein
-
Php-fpm Mailing List - English
php 5.3.0 with the php-fpm patch will not compile without "--enable-fastcgi" being specified in the ./configure command. My understanding is that this is no longer an option as php 5.3.0 cannot be compiled *without* fastcgi support and so "--enable-fastcgi" should not be required.
by
Jim Ohlstein
-
Php-fpm Mailing List - English
You can't necessarily eliminate *all* "if" statements. Minimizing them is good if you can. I'm glad that you seem to be on the right track.
by
Jim Ohlstein
-
How to...