# Nginx with SSL problems on Sparc

**URL:** <https://www.ruby-forum.com/t/nginx-with-ssl-problems-on-sparc/191435>\
**Category:** NGINX\
**Created:** [July 12, 2010, 5:36pm UTC](https://www.ruby-forum.com/t/nginx-with-ssl-problems-on-sparc/191435 "2010-07-12T17:36:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ondrej\_Jombik](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/a698b9/32.png) [@Ondrej\_Jombik](https://www.ruby-forum.com/u/Ondrej_Jombik)\
**Post date:** [July 12, 2010, 5:36pm UTC](https://www.ruby-forum.com/t/nginx-with-ssl-problems-on-sparc/191435/1 "2010-07-12T17:36:11Z")

</div>

We are using nginx on Sparc, it’s Debian Linux stable

Linux Sunium 2.6.26-2-sparc64 #1 Mon Jun 21 15:45:39 UTC 2010 sparc64  
GNU/Linux

We have Apache2 on port 88 as a single upstream, nginx is serving HTTP  
and HTTPS as well (ports 80 & 443).

HTTP is working great, however HTTPS has some problems - every say 5th  
request is failed and empty page is served. Nginx logs are full of these  
error/warning messages:

2010/07/08 02:08:33 [alert] 479#0: worker process 704 exited on signal  
10  
\*\*\* glibc detected \*\*\* nginx: worker process: free(): invalid pointer:  
0xfd64cf1c \*\*\*  
2010/07/08 02:08:38 [alert] 479#0: worker process 705 exited on signal 6  
2010/07/08 02:08:39 [alert] 479#0: worker process 706 exited on signal  
10  
2010/07/08 02:09:02 [alert] 479#0: worker process 714 exited on signal  
11  
2010/07/08 02:09:03 [alert] 479#0: worker process 732 exited on signal  
10  
2010/07/08 02:09:14 [alert] 479#0: worker process 736 exited on signal  
10  
\*\*\* glibc detected \*\*\* nginx: worker process: corrupted double-linked  
list: 0x000db1a8 \*\*\*  
2010/07/08 02:09:44 [alert] 744#0: worker process 745 exited on signal 6  
2010/07/08 02:09:57 [alert] 744#0: worker process 749 exited on signal  
11  
2010/07/08 09:23:35 [crit] 751#0: \*104 SSL\_write() failed (SSL:  
error:140D0114:SSL routines:SSL\_write:uninitial  
ized) while sending to client, client: 10.138.10.136, server:  
Sunium.Platon.SK, request: “GET --URL-- HTTP/1.1”, upstream: “–URL–”,  
host: “db.platon.sk”, referrer: “–URL–”  
2010/07/08 09:23:35 [crit] 751#0: \*104 SSL\_shutdown() failed (SSL:  
error:140E0114:SSL routines:SSL\_shutdown:uni  
nitialized) while sending to client, client: 10.138.10.136, server:  
0.0.0.0:443  
2010/07/08 09:23:35 [alert] 744#0: worker process 751 exited on signal  
11  
2010/07/08 09:23:49 [alert] 744#0: worker process 1658 exited on signal  
10  
2010/07/08 09:23:49 [alert] 744#0: worker process 1659 exited on signal  
11  
\*\*\* glibc detected \*\*\* nginx: worker process: double free or corruption  
(out): 0x70445ad0 \*\*\*  
2010/07/08 09:40:27 [alert] 744#0: worker process 1660 exited on signal  
6  
2010/07/08 09:45:33 [alert] 1907#0: worker process 1908 exited on signal  
10  
2010/07/08 09:45:34 [alert] 1907#0: worker process 1912 exited on signal  
11

There are different signals, different errors, I tried to extract the  
most descriptive pattern.

I know this is probably platform dependend, since we are using on many  
Intel servers without any problem. But my question is what to do next?  
Should I debug, or strace this or just simply send this to Debian  
package maintainer?

I tried to upgrade nginx, OpenSSL, libssl, I tried several different  
combinations, but with no luck.

Thanks for any help or clue

Ondrej

–  
Ondrej JOMBIK  
Platon Technologies Ltd., Hlavna 3, Sala SK-92701  
+421 903 PLATON - removed\_email\_address@domain.invalid - [http://platon.org](http://platon.org)

---

<div class="post-metadata">

**Author:** ![Ondrej\_Jombik](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/a698b9/32.png) [@Ondrej\_Jombik](https://www.ruby-forum.com/u/Ondrej_Jombik)\
**Post date:** [July 12, 2010, 5:39pm UTC](https://www.ruby-forum.com/t/nginx-with-ssl-problems-on-sparc/191435/2 "2010-07-12T17:39:42Z")

</div>

On Mon, Jul 12, 2010 at 04:54:16PM +0200, Ondrej Jombik wrote:

> error/warning messages:  
> 2010/07/08 02:09:57 [alert] 744#0: worker process 749 exited on signal 11  
> 2010/07/08 09:45:34 [alert] 1907#0: worker process 1912 exited on signal 11  
> combinations, but with no luck.  
> What nginx version do you use ?

–  
Igor S.

> **[Igor Sysoev](http://sysoev.ru/en/)**

---

<div class="post-metadata">

**Author:** ![Ondrej\_Jombik](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/a698b9/32.png) [@Ondrej\_Jombik](https://www.ruby-forum.com/u/Ondrej_Jombik)\
**Post date:** [July 20, 2010, 5:05pm UTC](https://www.ruby-forum.com/t/nginx-with-ssl-problems-on-sparc/191435/3 "2010-07-20T17:05:15Z")

</div>

On Mon, 12 Jul 2010, Igor S. wrote:

> > I tried to upgrade nginx, OpenSSL, libssl, I tried several different  
> > combinations, but with no luck.  
> > What nginx version do you use ?

I double check (again) the problem and it show up on these versions:

nginx\_0.6.32-3+lenny3\_sparc.deb  
nginx\_0.7.67-1\_sparc.deb

Unfortunatelly I have not found SPARC version of nginx not affected with  
this ☹ But I tried.

We switched back to Apache SSL, which I’m completelly not happy with.  
SSL configuration is messy, it’s big & fat, and also tens if not  
hundreds of our machines they all use nginx, except this single one.  
Yes, it is the only one on SPARC, all others are Intel:)

Thanks

–  
Ondrej JOMBIK  
Platon Technologies Ltd., Hlavna 3, Sala SK-92701  
+421 903 PLATON - [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) - [http://platon.org](http://platon.org)
