Set file descriptor limit for xinetd initiated process

I am starting the amanda backup service on clients through xinetd and we
are hitting the open file limit, ie file descriptor limit.
I have set resource controls for the user and I can see from the shell that
the file descriptor limit has increased, but I have not figured out how to get
the resource control change to apply to the daemon started by xinetd.
The default of 256 file channels persists for the daemon, I need to increase
that number.
I have tried a wrapper script, clearly doing it incorrectly for Solaris 10/SMF
services. That route didn't work, or is not as straight forward as it used to be.
There is a more direct way ?
Thanks - Brian

Hi Brian,
It appears with 32 bits applications. You have to use the enabler of the extended FILE facility /usr/lib/extendedFILE.so.1
% ulimit -n
256
% echo 'rlim_fd_max/D' | mdb -k | awk '{ print $2 }'
65536
% ulimit -n
65536
% export LD_PRELOAD_32=/usr/lib/extendedFILE.so.1
% ./your_32_bits_applicationMarco

Similar Messages

  • How to increase the per-process file descriptor limit for JDBC connection 15

    If I need JDBC connection more that 15, the only solution is increase the per-process file descriptor limit. But how to increase this limit? modify the oracle server or JDBC software?
    I'm using JDBC thin driver connect to Oracle 806 server.
    From JDBC faq:
    Is there any limit on number of connections for jdbc?
    No. As such JDBC drivers doesn't have any scalability restrictions by themselves.
    It may be it restricted by the no of 'processes' (in the init.ora file) on the server. However, now-a-days we do get questions that even when the no of processes is 30, we are not able to open more than 16 active JDBC-OCI connections when the JDK is running in the default (green) thread model. This is because the no. of per-process file descriptor limit exceeded. It is important to note that depending on whether you are using OCI or THIN, or Green Vs Native, a JDBC sql connection can consume any where from 1-4 file descriptors. The solution is to increase the per-process file descriptor limit.
    null

    maybe it is OS issue, but the suggestion solution is from Oracle document. However, it is not provide a clear enough solution, just state "The solution is to increase the per-process file descriptor limit"
    Now I know the solution, but not know how to increase it.....
    pls help.

  • Can I set a time limit for usage on a 5th gen ipod touch

    My daughter just got a 5th gen Ipod touch. Of course she is using it at times she shouldn't be. Is there a way to set a time limit for usage so she can be responsible for monitoring herself without us nagging all the time?

    IIt's free and here is a link https://itunes.apple.com/gb/app/parentkit-parental-controls/id600618138?mt=8

  • HT4863 How can I increase the file size limit for outgoing mail. I need to send a file that is 50MB?

    How can I increase the file size limit for outgoing mail. I need to send a file that is 50MB?

    You can't change it, and I suspect few email providers would allow a file that big.  Consider uploading it to a service like Dropbox, then email the link allowing the recipient to download it.

  • Limit for license key Process Server Service. JCL_ FTP is exceded

    Hi All,
    We are getting strange error in Redwood. Now we are not able to start process servers. Process servers were running fine and we were able to run jobs. For some activities in UNIX server we stopped the unix process server and now we are getting strange error while starting process server
    9:52:51 PM: JCS-102204: Limit for license key Process Server Service. JCL_ FTP is exceeded; limit is 0, changes require 1.
    And we are not able create any new process servers also with job definition type System or Job Chain. While creating we are getting same error.
    We have license ProcessServerService.JCL_FTP with the value true.
    To create new process server we don't need any JCL_FTP license. Don't know why we are getting strange error.Please help me on this.
    Version: SAP 7.00
    Build: M26.10-29140
    Thanks,
    Preethish

    Issue is fixed in next version of SAP CPS

  • Is there a file size limit for images in keynote on a mac?

    Is there a file size limit for images in keynote on a mac?

    If you right click on the file (navigate to it using finder, or if it is in iCloud you should open keynote, File -> Open and you should see a list of your iCloud keynotes) then press command+i, you'll pull up the info tag which will tell you the file size.
    Keynote also has an option to Reduce File Size  (File -> Reduce Files Size) but I do not recommend it at all because it will severely degrade the quality of your pictures. 
    It's also possible to reduce an individual image's memory size in your keynote by right clicking it and selecting Reduce Image File Size).  This is more time-consuming but allows you to see if the degraded photo quality is still good enough, and you can always undo it.

  • Can I set a time limit for connection to a certain WLAN?

    I would like to set a time limit for how long a client can be continously connected to the WLAN that provides my guest internet access. The user name/password is hosted on my ACS and authentication is provided by my Cisco NAC. I am using 5508 controllers (7.02) and WCS.
    Somewhere in this combination of stuff, there has to be a way to set a two hour time limit.

    If you are looking for your guest to get kicked off which requires them to log back in .. One option would be to set the WLAN session timeout to 2 hours.
    "Satisfaction does not come from knowing the solution, it comes from knowing why." - Rosalind Franklin
    ‎"I'm in a serious relationship with my Wi-Fi. You could say we have a connection."

  • File Descriptor Limit

    1. We can change the limits by setting the values in the /etc/system file rlim_fd_cur & rlim_fd_max.
    2. There is some documentation that states that the mx should never exceed 1024.
    3. Question:
    a. For Solaris 8 can we ever set the max to be > 1024?
    b. If we can, is there another ceiling?
    c. Can we redefine FD_SETSIZE in the app that wants to use select() with fds > 1024? Is there any mechanism to do a select() on FDs > 1023?
    4. If the process is running at root, does it still have a limit on FDs? Can it then raise it using setrlimit()?
    Thnx
    Aman

    The hard limit is 1024 for number of descriptors.
    The man page for limit(1) says that root can
    change the hard limits, but if you raise the
    limit for fd above 1024 you may encounter kernel
    performance or even failure considtions. The number
    is a recommendation and emperical based on what a
    selection of processors and memory models can
    tolerate. You might get more expert info by cross
    posting this question to the solaris-OS/kernel
    forum. Raising the hard limit might be possible, but
    I cannot speak to the risks with much direct
    knowledge.
    You might want to examine the design of an app that
    needs to have more than 1024 files open at once. maybe
    there is an alternative design that allows you to
    close more file descriptors.

  • File size limit for webdav upload

    Dear Experts,
    we set up what we thought to be a restriction of the file size allowed for upload. We did this in the portal via
    System administration --> system configuration --> Knowledge Management --> Protocols --> WebDav --> Max WebDAV request size: 15728640 bytes.
    We would have expected that to not allow us uploading any files larger than 15 MB. Turns out we were wrong and it does not work. Here is a http-trace of an upload of a 21 MB file.
    Note the content length in the outbound message is 21832627.
    ========= Outbound Message =========
    PUT /irj/go/km/docs/documents/LSO/WBT/Academy_test_area/upload/secondUpload/SCORM%5B1%5D.2004.3ED.DocSuite.zip/SCORM%5B1%5D.2004.3ED.DocSuite.zip HTTP/1.1
    Host: ****hostname****:443
    Connection: TE
    TE: trailers, deflate, gzip, compress
    User-Agent: UCI DAV Explorer/0.91 RPT-HTTPClient/0.3-3E
    Translate: f
    Cookie: j_authscheme=basicauthentication; saplb_*=(J2EE405983900)405983952; JSESSIONID=(J2EE405983900)ID1262004252DB00846306331792142983End
    Cookie2: $Version="1"
    Authorization: Basic NDkwNjIyNzE6TGVybnRlNzg=
    Accept-Encoding: deflate, gzip, x-gzip, compress, x-compress
    Content-type: application/zip
    Content-length: 21832627
    **** Lots of Content ****
    * 21 MB of bits and bytes
    **** / Lots of Content
    ========= Inbound Message =========
    HTTP/1.1 201 Created
    Date: Wed, 19 Aug 2009 15:39:07 GMT
    Server: SAP J2EE Engine/7.01
    Content-Type: text/html; charset=UTF-8
    Cache-Control: no-cache
    Vary: accept-encoding,accept-language,cookie,translate
    ETag: "1589137901012"
    Last-Modified: Wed, 19 Aug 2009 15:39:15 GMT
    Content-Length: 0
    Via: 1.1 ****hostname****:443
    Would anyone know any other way of preventing the upload of large files via a webDAV client?
    Thank you very much.
    Regards
    Michael

    Hi Michael,
    This cannot be possible in portal but you can upload the max size file through portal drive or webdev . Through portal drive you can upload 50mb or any format file size you can upload through portal but portal you cannot upload you can get the message of file uploading failure or connectivity issues like these messgae appears at every interval so go through the portal drive or webdev.
    But best option for uploading huge file size is Portal drive. This will helpful for you.
    Regards
    RS

  • Tolerance limit for Components in Process Order

    Dear Friends,
    As we can provide underdelivery / overdelivery tolerance for GR of process order, likewise is it possible to provide tolerance for BOM components in process order?
    The requirement is like that confirmation should be allowed with GI done within + / - 5 % of BOM qty in process order. Is it possible to cater this requirement with any exit / BAdi?
    Kindly help with your valuable inputs.
    Thanks in advance.
    Regards,
    Tejas

    Dear,
    Thanks for your prompt reply. Actually I have been already working on this exit only.But me & my technical fellow are stuck up for build logic for tolerance limit. It is working to restrict confirmation till GI has been done. But we are unable to give provision of tolerance limit for GI with this exit.
    Can you pls share more details about writing logic for it?
    Regards,
    Tejas

  • Having issue with GoFlex Seagate Driver Setting, Its always asking for the installation process whenever I am turning on my mac, any help will be appreciated.

    Hi Team,
    Unfortunatly, I plugged-in one of my friends external hard drive, and its asked me for the seagate driver instalation, after that every time when I am turning on my system, its asking for the goFlex software instalation process.
    I tried out some process by googleing, I tried to remove the complete segate from my system, still it didn't help me.
    Please help me with, to remove a complete segate package.
    Thanks,
    Jayaram.

    Thanks Richard.
    The 3 point did help me, now its not all asking for the each time instalation for the same driver.
    Here one question comes to my mind, by deleting the content of the temp folder for the segate and removing all the releated files from the application, library->application support, library->extension, library->LaunchAgents, I deleted all the releated files of segate, could you please let me know if I need to delete from any more location to avoid the garbage files.
    Thanks for your time and help

  • Files size limit for vimeo upload

    Hi,
    There is a warning sign that says ''publishing movies bigger than 5 GB may fail''. Why is that ? I have a vimeo pro account (I can dowload up to 20 GB per week. Does vimeo have file size limits for uploads ?

    hello, I did some research on this question and found this:
    "Vimeo does not have a maximum file size for uploads, however, there is a maximum of 500MB of uploading per week, making the maximum file size effectively 500MB. That's with a free account; if you pay to join Vimeo Plus the maximum weekly upload limit raises to 5GB"
    So, maybe you can try to convert your video to another format in small file size? Or maybe you can trim video to make it smaller.  If you want to try these suggested methods, this software can help you out: https://itunes.apple.com/us/app/video-mate/id592736614?ls=1&mt=12

  • File size limit for file transfers?

    I have 560 Content Engines running ACNS 5.3.1. A user tries to download a 2.73 GB .img file from Microsoft through IE. Everything seems fine except the resultant file is only 2,097,153 KB. If we bypass the content engines, we get the full file. We know there is no file size limit on the PC. Can anyone explain and help?

    I have 560 Content Engines running ACNS 5.3.1. A user tries to download a 2.73 GB .img file from Microsoft through IE. Everything seems fine except the resultant file is only 2,097,153 KB. If we bypass the content engines, we get the full file. We know there is no file size limit on the PC. Can anyone explain and help?

  • Is there a file size limit for App Store downloads over wifi?

    I just gifted my friend a navigation app that is 1.4 Gb in size. Unbeknown to me, her iPhone is not tethered to a computer and therefore she only downloads apps directly to the phone via wifi. Is it possible to download a file of this size directly to the phone? So far the app has said "Loading..." for 3 hrs with no movement in the status bar. If there is a limit I would have expected the phone to disallow the process from even beginning.
    Any thoughts on how to get this app downloaded would be greatly appreciated.

    If you right click on the file (navigate to it using finder, or if it is in iCloud you should open keynote, File -> Open and you should see a list of your iCloud keynotes) then press command+i, you'll pull up the info tag which will tell you the file size.
    Keynote also has an option to Reduce File Size  (File -> Reduce Files Size) but I do not recommend it at all because it will severely degrade the quality of your pictures. 
    It's also possible to reduce an individual image's memory size in your keynote by right clicking it and selecting Reduce Image File Size).  This is more time-consuming but allows you to see if the degraded photo quality is still good enough, and you can always undo it.

  • Is there a file size limit for video in Adobe Presenter?

    I am uploading video to PowerPoint using Presenter and want to know if there is a limit or best practices for video file size.

    If you right click on the file (navigate to it using finder, or if it is in iCloud you should open keynote, File -> Open and you should see a list of your iCloud keynotes) then press command+i, you'll pull up the info tag which will tell you the file size.
    Keynote also has an option to Reduce File Size  (File -> Reduce Files Size) but I do not recommend it at all because it will severely degrade the quality of your pictures. 
    It's also possible to reduce an individual image's memory size in your keynote by right clicking it and selecting Reduce Image File Size).  This is more time-consuming but allows you to see if the degraded photo quality is still good enough, and you can always undo it.

Maybe you are looking for