Sponsored Content
Full Discussion: Limit Folder Size
Top Forums UNIX for Dummies Questions & Answers Limit Folder Size Post 302103338 by tisdmin on Wednesday 17th of January 2007 10:00:52 PM
Old 01-17-2007
Sorry for not putting it up, I want to run a script on my server(OSX) to limit
the Desktop size of all my users.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Limit size of the file

How do I limit size of a file to 1 MB or something like that under Linux? (4 Replies)
Discussion started by: _hp_
4 Replies

2. UNIX for Dummies Questions & Answers

Linux/Solaris has any limit on folder size ?

Hi, Does Linux/Solaris has any limit on folder size or number of files per folder? Thanks Bache Gowda (1 Reply)
Discussion started by: bache_gowda
1 Replies

3. Solaris

File size limit

I want to have a permanent file created - and limit the size that this file can grow.. I want a circular file.. ie max size of file is 10 mb.. and if any new data written to file the oldest data removed.. How can I do this? I am on solaris 9 x86 (3 Replies)
Discussion started by: frustrated1
3 Replies

4. AIX

file size limit

Can anybody help me? How to increase file size limit in aix 5.2? I have already specified in /etc/security/limits file : default: fsize = -1 core = 2097151 cpu = -1 data = -1 rss = -1 stack = -1 nofiles = 2000 (2 Replies)
Discussion started by: vjm
2 Replies

5. UNIX for Advanced & Expert Users

File Size Limit

Hi, I have a problem writing or copying a file 2GB or larger to either the second or third disk on my C8000. I've searched this forum and found some good information on this but still nothing to solve the problem. I'm running hpux 11i, JFS3.3 and disk version 4 (from fstyp) on all 3 disks. ... (2 Replies)
Discussion started by: HaidoodFaulkauf
2 Replies

6. UNIX for Dummies Questions & Answers

can I limit the size of a directory?

Hi, I am not root, but I need to limit the size of my directory, so that it cannot contain more than 200M of stuff inside. Is this possible? Also, how can I see the total size of that directory? If I do ls -ltrd, it does not give me the size of all the files inside the directory. And if I do df... (6 Replies)
Discussion started by: JamesByars
6 Replies

7. Linux

Limit directory size

Hello I want to limit the size of a directory; so a user cant copy more staff inside it then 5 Giga for example.. eg. /nfs/temp/jhon size can not increase more that 5Gb I havnt found anything on the net. Is there a way to do it? (2 Replies)
Discussion started by: jredx
2 Replies

8. UNIX for Advanced & Expert Users

logrotate size limit

Hi i configured log rotate for a specific file. /var/log/sauer i configured create a file in logrotate.d # cat /etc/logrotate.d/sauer #this is a logrotate configuration file for msu_ng logs /var/log/sauer { rotate 5 size=1M daily compress ... (5 Replies)
Discussion started by: modcan
5 Replies

9. UNIX for Advanced & Expert Users

file size limit?

hi, how can I find out what the limit of a file size is on unix? thanks (6 Replies)
Discussion started by: JamesByars
6 Replies

10. UNIX for Dummies Questions & Answers

Directory size limit

Hey everyone I'm trying to limit the size a directory can be under Solaris 10. I can find plenty of guides to do it for user home directories, ut what I'm after is an absolute limit, regardless of the user. For example: I want /export/example/ to never pass say 5 GB, no matter what user is... (3 Replies)
Discussion started by: goodvikings
3 Replies
SET_TIME_LIMIT(3)							 1							 SET_TIME_LIMIT(3)

set_time_limit - Limits the maximum execution time

SYNOPSIS
bool set_time_limit (int $seconds) DESCRIPTION
Set the number of seconds a script is allowed to run. If this is reached, the script returns a fatal error. The default limit is 30 sec- onds or, if it exists, the max_execution_time value defined in the php.ini. When called, set_time_limit(3) restarts the timeout counter from zero. In other words, if the timeout is the default 30 seconds, and 25 seconds into script execution a call such as set_time_limit(20) is made, the script will run for a total of 45 seconds before timing out. PARAMETERS
o $seconds - The maximum execution time, in seconds. If set to zero, no time limit is imposed. RETURN VALUES
Returns TRUE on success, or FALSE on failure. NOTES
Warning This function has no effect when PHP is running in safe mode. There is no workaround other than turning off safe mode or changing the time limit in the php.ini. Note The set_time_limit(3) function and the configuration directive max_execution_time only affect the execution time of the script itself. Any time spent on activity that happens outside the execution of the script such as system calls using system(3), stream operations, database queries, etc. is not included when determining the maximum time that the script has been running. This is not true on Windows where the measured time is real. SEE ALSO
max_execution_time, max_input_time. PHP Documentation Group SET_TIME_LIMIT(3)
All times are GMT -4. The time now is 10:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy