# Finding remaining space in upload module

**URL:** <https://www.ruby-forum.com/t/finding-remaining-space-in-upload-module/208594>\
**Category:** NGINX\
**Created:** [June 22, 2011, 7:11am UTC](https://www.ruby-forum.com/t/finding-remaining-space-in-upload-module/208594 "2011-06-22T07:11:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [June 22, 2011, 7:11am UTC](https://www.ruby-forum.com/t/finding-remaining-space-in-upload-module/208594/1 "2011-06-22T07:11:56Z")

</div>

Hi All,

```
       I have come up with one doubt . for example if 100 users are

```

uploading 1GB file concurrently .and i have only 50GB

free space in my hard Disk.here i dont want to allow after 50 users  
started to upload file.i want to restrict users who comes after 50 and  
i want tell the users nomemory to allocate .if i can do that? How can i  
do that?.is there any 3rd party module to handle it or do i have to  
enable any module?

Thanks

Posted at Nginx Forum:

> **[finding remaining space in upload module](https://forum.nginx.org/read.php?2,208915,208915#msg-208915)**
>
> Hi All, I have come up with one doubt . for example if 100 users are uploading 1GB file concurrently .and i have only 50GB free space in my hard Disk.here i dont want to allow after 50 users started to upload file.i want to restrict users who comes...
