# Nginx-0.8.38

**URL:** <https://www.ruby-forum.com/t/nginx-0-8-38/189095>\
**Category:** NGINX\
**Created:** [May 24, 2010, 2:56pm UTC](https://www.ruby-forum.com/t/nginx-0-8-38/189095 "2010-05-24T14:56:47Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [May 24, 2010, 2:56pm UTC](https://www.ruby-forum.com/t/nginx-0-8-38/189095/1 "2010-05-24T14:56:47Z")

</div>

Changes with nginx 0.8.38 24 May  
2010

```
*) Feature: the "proxy_no_cache" and "fastcgi_no_cache" directives.

*) Feature: now the "rewrite" directive does a redirect 

```

automatically  
if the $scheme variable is used.  
Thanks to Piotr S…

```
*) Bugfix: now "limit_req" delay directive conforms to the described
   algorithm.
   Thanks to Maxim D..

*) Bugfix: the $uid_got variable might not be used in the SSI and 

```

perl  
modules.

–  
Igor S.  
[http://sysoev.ru/en/](http://sysoev.ru/en/)

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [May 24, 2010, 11:48pm UTC](https://www.ruby-forum.com/t/nginx-0-8-38/189095/2 "2010-05-24T23:48:55Z")

</div>

Can the proxy\_no\_cache directive be used to stop caching files over a  
certain size at all?

Kingsley

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [May 25, 2010, 5:33am UTC](https://www.ruby-forum.com/t/nginx-0-8-38/189095/3 "2010-05-25T05:33:10Z")

</div>

Thanks Igor.

Regards,  
Joe

On Tue, May 25, 2010 at 4:47 AM, Kingsley F.  
\<removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [May 25, 2010, 10:10am UTC](https://www.ruby-forum.com/t/nginx-0-8-38/189095/4 "2010-05-25T10:10:03Z")

</div>

Hello!

On Tue, May 25, 2010 at 07:17:39AM +0930, Kingsley F. wrote:

> Can the proxy\_no\_cache directive be used to stop caching files over a certain size at all?

No. It’s checked before request passed to backend and therefore  
response size isn’t yet known.

Maxim D.

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [May 28, 2010, 8:36pm UTC](https://www.ruby-forum.com/t/nginx-0-8-38/189095/5 "2010-05-28T20:36:00Z")

</div>

new nginx 0.8.38 segfaults on start; here is the ktruss output.

[http://victori.uploadbooth.com/pastes/fwqqcvtHP](http://victori.uploadbooth.com/pastes/fwqqcvtHP)

OS: OpenSolaris SNV98 / tried compiling with gcc-4.1.0 and suncc; both  
segfault.

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [May 25, 2010, 8:17am UTC](https://www.ruby-forum.com/t/nginx-0-8-38/189095/6 "2010-05-25T08:17:40Z")

</div>

* * *

nginx mailing list  
removed\_email\_address@domain.invalid  
[http://nginx.org/mailman/listinfo/nginx](http://nginx.org/mailman/listinfo/nginx)

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [May 28, 2010, 8:37pm UTC](https://www.ruby-forum.com/t/nginx-0-8-38/189095/7 "2010-05-28T20:37:32Z")

</div>

Victor I. wrote:

> new nginx 0.8.38 segfaults on start; here is the ktruss output.
> 
> [http://victori.uploadbooth.com/pastes/fwqqcvtHP](http://victori.uploadbooth.com/pastes/fwqqcvtHP)
> 
> OS: OpenSolaris SNV98 / tried compiling with gcc-4.1.0 and suncc; both  
> segfault.

Forgot to mention 0.8.37 worked just fine.

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [May 29, 2010, 3:45pm UTC](https://www.ruby-forum.com/t/nginx-0-8-38/189095/8 "2010-05-29T15:45:30Z")

</div>

I get the following warnings when I run make on Fedora.

```auto
objs/src/os/unix/ngx_process.o: In function `ngx_process_get_status':
/root/software/nginx-0.8.38/src/os/unix/ngx_process.c:490: warning: 
`sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/root/software/nginx-0.8.38/src/os/unix/ngx_process.c:490: warning: 
`sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
make[1]: Leaving directory `/root/software/nginx-0.8.38'
```

Posted at Nginx Forum:

> **[Re: nginx-0.8.38](https://forum.nginx.org/read.php?2,89616,91872#msg-91872)**
>
> Changes with nginx 0.8.38 24 May 2010 \*) Feature: the "proxy\_no\_cache" and "fastcgi\_no\_cache" directives. \*) Feature: now the "rewrite" directive does a redirect automatically if the

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [May 29, 2010, 5:05pm UTC](https://www.ruby-forum.com/t/nginx-0-8-38/189095/9 "2010-05-29T17:05:40Z")

</div>

On Sat, May 29, 2010 at 5:45 PM, Ensiferous [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> I get the following warnings when I run make on Fedora.
> 
> ```auto
> objs/src/os/unix/ngx_process.o: In function `ngx_process_get_status':
> /root/software/nginx-0.8.38/src/os/unix/ngx_process.c:490: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
> /root/software/nginx-0.8.38/src/os/unix/ngx_process.c:490: warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
> make[1]: Leaving directory `/root/software/nginx-0.8.38'
> ```

> **[A message “ ‘sys\_errlist’ is deprecated; use...](http://nginx.org/en/docs/sys_errlist.html)**

–  
Boris D..

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [June 1, 2010, 5:13am UTC](https://www.ruby-forum.com/t/nginx-0-8-38/189095/10 "2010-06-01T05:13:24Z")

</div>

I would but it segfaults, and no gdb on this system ;-(

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [May 30, 2010, 11:42pm UTC](https://www.ruby-forum.com/t/nginx-0-8-38/189095/11 "2010-05-30T23:42:43Z")

</div>

Hello!

On Fri, May 28, 2010 at 08:36:00PM +0200, Victor I. wrote:

> new nginx 0.8.38 segfaults on start; here is the ktruss output.
> 
> [http://victori.uploadbooth.com/pastes/fwqqcvtHP](http://victori.uploadbooth.com/pastes/fwqqcvtHP)
> 
> OS: OpenSolaris SNV98 / tried compiling with gcc-4.1.0 and suncc; both  
> segfault.

You may want to provide nginx -V output and backtrace, see here  
for details:

> **[GitHub - nginxinc/nginx-wiki: ARCHIVED -- Source for the now archived NGINX Wiki...](https://github.com/nginxinc/nginx-wiki)**
>
> ARCHIVED -- Source for the now archived NGINX Wiki section of https://www.nginx.com

Maxim D.

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [June 1, 2010, 5:37am UTC](https://www.ruby-forum.com/t/nginx-0-8-38/189095/12 "2010-06-01T05:37:45Z")

</div>

Err yet again I spoke too soon, here is a core dump.

[http://victori.uploadbooth.com/work/nginx-coredump.tbz2](http://victori.uploadbooth.com/work/nginx-coredump.tbz2)

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [June 1, 2010, 5:27am UTC](https://www.ruby-forum.com/t/nginx-0-8-38/189095/13 "2010-06-01T05:27:32Z")

</div>

Upon further research this is all I can give you;

# dbx objs/nginx

For information about new features see `help changes' To remove this message, put`dbxenv suppress\_startup\_message 7.7’ in  
your .dbxrc  
Reading nginx  
Reading ld.so.1  
Reading libsocket.so.1  
Reading libnsl.so.1  
Reading libsendfile.so.1  
Reading libz.so.1.2.4  
Reading libc.so.1  
Reading libgcc\_s.so.1  
(dbx) run  
Running: nginx  
(process id 9779)  
signal SEGV (no mapping at the fault address) in \_init at 0x81ef625  
0x081ef625: \_init+0x0015: addb %al,(%eax)  
(dbx) bt  
bt: not found  
(dbx) where  
=\>[1] \_init(0x1, 0x8047c7c, 0x8047c84, 0x0, 0x0, 0x1), at 0x81ef625  
(dbx)

What I use to compile:

CC=/opt/SunStudioExpress/bin/cc ./configure --with-pcre=…/pcre-7.6  
–prefix=/opt/extra/nginx --with-http\_stub\_status\_module  
–with-http\_flv\_module --with-http\_ssl\_module  
–add-module=…/nginx\_uploadprogress\_module --with-http\_dav\_module  
–add-module=…/mod\_strip --with-perl=/opt/extra/bin/perl  
–with-http\_gzip\_static\_module --with-http\_realip\_module

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [June 1, 2010, 6:54am UTC](https://www.ruby-forum.com/t/nginx-0-8-38/189095/14 "2010-06-01T06:54:01Z")

</div>

Nailed down the root issue, it was a bad openssl installation.
