FRiCKLE Labs & C2Hosting pres. ngx_slowfs_cache

Sergey A. Osokin osa at
Tue Dec 22 07:44:20 MSK 2009

Hi Piotr.

I'd like add your new module to FreeBSD ports tree for www/nginx and
www/nginx-devel ports.  It looks like your module can't be build with latest
stable version 0.7.64, but builts successfully with development version 0.8.30.

Here is compile log with 0.7.64.

cc -c -O2 -pipe -fno-strict-aliasing -I /usr/local/include -D_LARGEFILE_SOURCE -DBUILDING_NGINX  -I src/core  -I src/event  -I src/event/modules  -I src/os/unix  -I /usr/home/osa/ports/www/nginx/work/nginx_http_push_module-0.69/src  -I objs  -I src/http  -I src/http/modules  -I /usr/home/osa/ports/www/nginx/work/ngx_supervisord-1.2  -I src/mail  -o objs/addon/ngx_slowfs_cache-1.0/ngx_http_slowfs_module.o /usr/home/osa/ports/www/nginx/work/ngx_slowfs_cache-1.0/ngx_http_slowfs_module.c
/usr/home/osa/ports/www/nginx/work/ngx_slowfs_cache-1.0/ngx_http_slowfs_module.c: In function 'ngx_http_slowfs_static_send':
/usr/home/osa/ports/www/nginx/work/ngx_slowfs_cache-1.0/ngx_http_slowfs_module.c:227: error: 'ngx_open_file_info_t' has no member named 'read_ahead'
/usr/home/osa/ports/www/nginx/work/ngx_slowfs_cache-1.0/ngx_http_slowfs_module.c:227: error: 'ngx_http_core_loc_conf_t' has no member named 'read_ahead'
*** Error code 1

Anyway, thank you for your new module!

On Mon, Dec 21, 2009 at 11:36:09PM +0100, Piotr Sikora wrote:
> Hello,
> let me introduce another nginx module.
> ngx_slowfs_cache is a module which allows caching of static files
> (served using "root" directive). This enables one to create
> fast caches for files stored on slow filesystems, for example:
> - storage: network disks, cache: local disks,
> - storage: 7,2K SATA drives, cache: 15K SAS drives in RAID0.
> Module configuration directives:
> slowfs_cache,
> slowfs_cache_key,
> slowfs_cache_purge,
> slowfs_cache_path,
> slowfs_temp_path,
> slowfs_cache_min_uses,
> slowfs_cache_valid,
> slowfs_big_file_size.
> Module configuration variables:
> $slowfs_cache_status.
> This module was fully funded by
> For more information & download please visit:
> Best regards,
> Piotr Sikora < piotr.sikora at >

Sergey A. Osokin

More information about the nginx mailing list