LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-31-2008, 02:24 AM   #1
basis1980
LQ Newbie
 
Registered: Nov 2007
Posts: 15

Rep: Reputation: 0
hcid deamon uses ram almost entirely


Hello,

I have a mini-pc which has a 1GB CF card for storage, and 128MB SDRam for memory.

hcid seems to use the ram almost entirely even though there are not active bluetooth device around.

Any idea why this might happen?

Here is the "ps aux" command output:

******************************************************************
1922 root 25 0 2952 1232 984 R 97.3 1.0 938:11.86 hcid


USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.5 2080 704 ? Ss Jan23 0:06 init [2]
root 2 0.0 0.0 0 0 ? S< Jan23 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? SN Jan23 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? S< Jan23 0:00 [watchdog/0]
root 5 0.0 0.0 0 0 ? S< Jan23 0:00 [events/0]
root 6 0.0 0.0 0 0 ? S< Jan23 0:00 [khelper]
root 26 0.0 0.0 0 0 ? S< Jan23 0:00 [kblockd/0]
root 27 0.0 0.0 0 0 ? S< Jan23 0:00 [kacpid]
root 28 0.0 0.0 0 0 ? S< Jan23 0:00 [kacpi_notify]
root 73 0.0 0.0 0 0 ? S< Jan23 0:00 [kseriod]
root 89 0.0 0.0 0 0 ? S Jan23 0:00 [pdflush]
root 90 0.0 0.0 0 0 ? S Jan23 0:00 [pdflush]
root 91 0.0 0.0 0 0 ? S< Jan23 0:00 [kswapd0]
root 92 0.0 0.0 0 0 ? S< Jan23 0:00 [aio/0]
root 513 0.0 0.0 0 0 ? S< Jan23 0:00 [ksuspend_usbd]
root 519 0.0 0.0 0 0 ? S< Jan23 0:00 [khubd]
root 529 0.0 0.0 0 0 ? S< Jan23 0:00 [ata/0]
root 530 0.0 0.0 0 0 ? S< Jan23 0:00 [ata_aux]
root 765 0.0 0.0 0 0 ? S< Jan23 0:01 [kjournald]
root 908 0.0 0.5 2332 624 ? S<s Jan23 0:02 udevd --daemon
root 1458 0.0 0.0 0 0 ? S< Jan23 0:00 [ksnapd]
root 1734 0.0 0.6 2240 744 ? S<s Jan23 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf /var/lib/dhcp3/dhclient.eth0.leases eth0
root 1798 0.0 0.4 1756 580 ? Ss Jan23 0:01 /sbin/syslogd
root 1808 0.0 0.3 1708 396 ? Ss Jan23 0:00 /sbin/klogd -x
root 1821 0.0 1.2 5248 1440 ? Ss Jan23 0:00 /usr/sbin/sshd
root 1900 0.0 0.4 1704 588 ? Ss Jan23 0:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid.socket
101 1908 0.0 0.7 2784 872 ? Ss Jan23 0:00 /usr/bin/dbus-daemon --system
root 1922 22.9 1.0 2952 1232 ? Rs Jan23 938:35 /usr/sbin/hcid -x -s
root 1928 0.0 0.0 0 0 ? S< Jan23 0:00 [krfcommd]
root 1943 0.0 0.6 2348 756 ? Ss Jan23 0:00 /usr/sbin/cron
root 1955 0.0 0.5 1912 680 ? S Jan23 0:00 /passerida/bluetooth/passkey-agent --default /passerida/bluetooth/bluepin
root 1974 0.0 0.4 1712 520 tty1 Ss+ Jan23 0:00 /sbin/getty 38400 tty1
root 1975 0.0 0.4 1712 520 tty2 Ss+ Jan23 0:00 /sbin/getty 38400 tty2
root 1976 0.0 0.4 1712 520 tty3 Ss+ Jan23 0:00 /sbin/getty 38400 tty3
root 1981 0.0 0.4 1708 520 tty4 Ss+ Jan23 0:00 /sbin/getty 38400 tty4
root 1984 0.0 0.4 1712 520 tty5 Ss+ Jan23 0:00 /sbin/getty 38400 tty5
root 1985 0.0 0.4 1712 520 tty6 Ss+ Jan23 0:00 /sbin/getty 38400 tty6
root 2813 1.0 2.1 8008 2500 ? Ss 12:08 0:01 sshd: root@pts/0
root 2815 0.2 1.4 4208 1680 pts/0 Ss 12:08 0:00 -bash
root 2820 0.0 0.8 3648 1032 pts/0 R+ 12:10 0:00 ps aux
************************************************************************


And here is the hcid.conf file:
################################################################
# HCI daemon configuration file.
#

# HCId options
options {
# Automatically initialize new devices
autoinit yes;

# Security Manager mode
# none - Security manager disabled
# auto - Use local PIN for incoming connections
# user - Always ask user for a PIN
#
security user;

# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi;

# Default PIN code for incoming connections
passkey "1234";
}

# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "%h-%d";

# Local device class
class 0x3e0100;

# Default packet type
#pkt_type DH1,DM1,HV1;

# Inquiry and Page scan
iscan enable; pscan enable;
discovto 0;

# Default link mode
# none - no specific policy
# accept - always accept incoming connections
# master - become master on incoming connections,
# deny role switch on outgoing connections
lm accept;

# Default link policy
# none - no specific policy
# rswitch - allow role switch
# hold - allow hold mode
# sniff - allow sniff mode
# park - allow park mode
lp rswitch,hold,sniff,park;
}

#############################################################
 
Old 01-31-2008, 01:17 PM   #2
Dankles
Member
 
Registered: May 2004
Location: /dev/null
Distribution: Slackware
Posts: 245

Rep: Reputation: 31
Do you need the daemon? why don't you just uninstall it? or if you need it, you could try upgrading it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC 6 - missing RAM - Intel S5000PSL Board - 16GB RAM meofcourse Linux - Hardware 11 12-20-2007 03:21 AM
deamon for apache przemu Programming 1 10-31-2006 06:17 PM
hcid [2002] Seg fault? BobNutfield Fedora 1 04-01-2006 12:24 PM
Win98SE Pentium166MMX/64MB RAM vs Linux AthlonXP+ 3000/512MB RAM : Lucent LT WinModem t3gah Linux - Software 2 04-22-2005 01:01 PM
Imap Deamon swift Linux - Networking 0 06-22-2001 03:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration