top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration
Print Preview

Raise open file limit in cron jobs in Solaris

0 votes

For a backup job on Solaris 10 x86, I need to raise the process.max-file-descriptors. For an interactive
session I could do "ulimit -S -n 512" or equivalent "prctl" command. Or it could be put into .profile.

Where would you recommend the command be run for cron jobs that do not source .profile

posted Jun 5, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

+1 vote
Best answer

Id go for a simple wrapping script in the crontab, raising the limit
then running the command. I think its easier to keep thing obvious.

answer Jun 5, 2013 by anonymous
Similar Questions
+3 votes

How to delete a symbolic link in Solaris ?

"ln -s" command is working fine to add a symbolic link. But how the symbolic link can be deleted ?
I tried like this, but its not working

ulink abc.xml
ulink: not found

I tried unlink command , but got the following message " command not found"

+2 votes

One of my teammate who runs Solaris 11.1 wants to modify file /etc/resolve.conf but modifying the file manually is not working since after a reboot the file is rewritten by some system process.

The following has some suggestions as what should be done in cases like this

Unfortunately, the commands do not work! So could you please give three commands so my friend can modify /etc/resolv.conf? Note he is using dhcp... And I dont have physical accesss to a Solaris 11.1 machine...

+1 vote

I have a perl script I want to create desktop shortcut. While I click on this shortcut icon it will run my perl script and keep the terminal open.

I have tried the command

ln -s ~/Desktop/abc

while I click on this abc Icon from my desktop. It run and same time the terminal exit. Could you please help here?

My requirement is:

I want to create desktop shortcut for particular perl program. While I click on this icon from desktop, it should run and keep the terminal open.

+1 vote

I tried to compile git 2.4.3 on Solaris 10. I used the following configuration:

$ ./configure --without-iconv

$ grep -i iconv config.status
 set X /bin/bash './configure' '--without-iconv'
$ac_configure_extra_args --no-create --no-recursion

But when I try to compile it, I get an error that libiconv is missing:

 LINK git-credential-store
Undefined first referenced
 symbol in file
libintl_gettext libgit.a(lockfile.o)
libiconv_close libgit.a(utf8.o)
libiconv_open libgit.a(utf8.o)
libintl_ngettext libgit.a(date.o)
libiconv libgit.a(utf8.o)
ld: fatal: symbol referencing errors. No output written to git-credential-store
collect2: ld returned 1 exit status
gmake: *** [git-credential-store] Error 1

How can I work around this?

Useful Links with Similar Problem
Contact Us
+91 9880187415
#470/147, 3rd Floor, 5th Main,
HSR Layout Sector 7,
Bangalore - 560102,
Karnataka INDIA.