Skip to main content

'Linux-x86_64 Error: 28: No space left on device' While trying to start the database -- Error

SQL> startup mount pfile='/tmp/initdlfasp12.ora'
ORA-27102: out of memory
Linux-x86_64 Error: 28: No space left on device

This as you can see is on Linux x86 with 64 bit processor. We got this error after we changed SGA on 10gR2 database. So was sure that this is something to do with the OS.

Parameters to check for this are shmall.

shmall is the total amount of shared memory, in pages, that the system can use at one time.

$cat /proc/sys/kernel/shmmax

$ getconf PAGE_SIZE

As per Oracle SHMALL should be set to the total amount of physical RAM divided by page size.

Our system has 64GB memory, so change kernel.shmall = 1024 * 1024 * 1024 * 64 / 4096 = 16777216

Once this value is calculated you can modify Linux system configuration file directly.

$ su - root
vi /etc/sysctl.conf file:


# sysctl -p

Once this is done the database was started without any problem.


Wesley_silvva said…
thank you! saved my life
banu sankaram said…
It worked. thanks a lot :)
kfida said…
you can show me by video im so understand you/
my mail:
Tauqir Azam said…
Thanks...its working
Madhuri Sarode said…
Thanks so much , its helped me lot :)
Worked!!!!! Thx a lot
Mohan Deo said…
It worked very well.
Thanks a lot.
Unknown said…
Thanks so muche!!!
Irene Hynes said…
Hi There,

Nice to be visiting your blog again, it has been months for me. Well this article that i’ve been waited for so long.

I am trying to browse my tabular model using SSMS Tabular model Browse option wherein I am pulling up measures on measure panel and dimension attributes on rows and filtering data using SLICERS however when I am executing that, it is taking time almost 1 min and when I wrote Summarize DAX for the combination, it executed in less time around 15 sec.....Is this is expected behavior and why it is so big difference.
It was cool to see your article pop up in my google search for the process yesterday. Great Guide.
Keep up the good work!

Thank you,
Irene Hynes
Unknown said…
Q- 18 please let me know how to get first 3 salaries from emp table??
anamika singh said…
First of all, we provide escort service in Mumbai at the right time and no one can do it because we are ready to provide 24-hour escort service in Mumbai. The way we are promoting the Mumbai Escort service is hardly another Escort agency will be able to provide Escorts services for Mumbai in this manner.
Mumbai Escorts
Mumbai Escorts Service
Escorts Service In Mumbai

Many students do not pay enough attention to the title of the paper thinking that it is not very important and write the first thing that comes to mind. That is the wrong strategy because reading a paper always begins with a title. So, to make it looks like an attractive beginning of the in-depth analysis that you have completed? Check out these tips to learn how to do it the right way.

Popular posts from this blog

SQL Interview Questions on Subqueries

SUB Queries:
1. List the employees working in research department 2. List employees who are located in New York and Chicago
3. Display the department name in which ANALYSTS are working
4. Display employees who are reporting to JONES
5. Display all the employees who are reporting to Jones Manager
6. Display all the managers in SALES and ACCOUNTING department
7. Display all the employee names in Research and Sales Department who are having at least 1 person reporting to them
8. Display all employees who do not have any reportees
9. List employees who are having at least 2 reporting
10. List the department names which are having more than 5 employees
11. List department name having at-least 3 salesman
12. List employees from research and accounting having at-least 2 reporting
13. Display second max salary
14. Display 4th max salary
15. Display 5th max salary  -- Answer for nth Max Salary
Co-Related Subqueries:
16. Write a query to get 4th max salary from EMP table
17. Write a query to get 2nd…

Answers for SUB Queries

1. SQL> select empno, ename from emp where deptno=(select deptno from dept where dname='RESEARCH');

2. SQL> select empno, ename from emp where deptno in (select deptno from dept where loc in ('NEW YORK','CHICAGO'));

3. SQL> select dname from dept where deptno in ( select deptno from emp where job ='ANALYST');

4. SQL> select empno, ename, mgr from emp where mgr = (select empno from emp where ename='JONES');

5. SQL> select empno, ename, mgr from emp where mgr = (select mgr from emp where ename='JONES')

6. SQL> select empno, ename, job from emp where deptno in ( select deptno from dept where dname in ('SALES','ACCOUNTING'))

7. SQL> select empno, ename, job from emp where deptno in ( select deptno from dept where dname in ('SALES','RESEARCH')) and empno in (select mgr from emp)

8. SQL> select empno, ename from emp where empno not in ( select mgr from emp where mgr is not null)

9. select…