The veteran suspected of opening fire at a Thousand Oaks, California, bar, killing 12, may have been texting or posting to social media immediately before and possibly during the shooting, multiple law enforcement sources told ABC News.

Interested in Thousand Oaks Shooting?

Add Thousand Oaks Shooting as an interest to stay up to date on the latest Thousand Oaks Shooting news, video, and analysis from ABC News.

Investigators are now reviewing the social media accounts of suspect Ian David Long, 28. Those social media accounts have since been taken down at the request of law enforcement.

Long, a former U.S. Marine, showed signs of post-traumatic stress disorder, authorities said, but there’s little information available yet on what prompted the attack late Wednesday night at the Borderline Bar and Grill. Long was found dead inside the bar; authorities believe he shot himself.

“He was somewhat irate. Acting a little irrationally,” Ventura County Sheriff Geoff Dean said at a press conference. “They felt he might be suffering from PTSD, the fact he was a veteran.”

PHOTO: A woman who fled the Borderline Bar and Grill is hugged by relatives in Thousand Oaks, Calif. Nov. 8, 2018.Mike Nelson/EPA via Shutterstock
A woman who fled the Borderline Bar and Grill is hugged by relatives in Thousand Oaks, Calif. Nov. 8, 2018.

Long, 28, lived near the bar with his mother, neighbors told police, describing the suspect as a troubled man who battled fits of rage.

“I think I do recall some times when he was struggling with some issues internally,” said Todd Stratton, a friend of Long’s. “I didn’t know [about] PTSD, but his girlfriend would kind of ask him about things going on with him, because he’d get really upset sometimes and kind of shut down and he wouldn’t want to talk about it to people. He’d just kind of close himself up, and I think he had a really hard time reaching out for help because of his personality.”

PHOTO: A victim is treated near the scene of a shooting, Nov. 7, 2018, in Thousand Oaks, Calif.RMG News via AP
A victim is treated near the scene of a shooting, Nov. 7, 2018, in Thousand Oaks, Calif.

FBI officials have swarmed the house, desperate to find the motive behind his alleged shooting rampage.

One neighbor told ABC News she called the police on Long once after he allegedly got into a fight with his mother. Another neighbor said Long rarely left home and that his mother told her that he was getting violent.

Dean said Long had several previous run-ins with police, including an incident in April where deputies were called to his home in Newbury Park because he was reportedly behaving erratically.

“They went to the house, they talked to him. He was somewhat irate, acting a little irrationally,” Dean said. “They called out our crisis intervention team, our mental health specialist, who met with him, talked to him and cleared him.”

PHOTO: People comfort each other as they stand near the scene, Nov. 8, 2018, in Thousand Oaks, Calif., where a gunman opened fire Wednesday inside a country dance bar crowded with hundreds of people on college night.Mark J. Terrill/AP
People comfort each other as they stand near the scene, Nov. 8, 2018, in Thousand Oaks, Calif., where a gunman opened fire Wednesday inside a country dance bar crowded with hundreds of people on “college night.”

“It’s difficult, because I’ve been doing this for 41 years, and you don’t leave things unfinished,” Dean, who’d been considering retirement, told ABC News’ David Muir.

Dean was a close friend of one of the shooting victims, Sgt. Ron Helus, who died in the line of duty.

“I think we try to look at the core and try to understand what happened and see if there’s a way that we can stop it. We all try to make sense of the senseless.”

PHOTO: The procession carrying the body of Ventura County Sheriffs Sgt. Ron Helus, who was killed in a mass shooting at the Borderline Bar and Grill, leaves Los Robles Hospital, Nov. 8, 2018, in Thousand Oaks, Calif.David McNew/Getty Images
The procession carrying the body of Ventura County Sheriffs Sgt. Ron Helus, who was killed in a mass shooting at the Borderline Bar and Grill, leaves Los Robles Hospital, Nov. 8, 2018, in Thousand Oaks, Calif.

Authorities said hundreds were inside when the suspect walked in to the country-western bar with a gun and opened fire. The weapon was equipped with a an extended-ammunition magazine, allowing it to hold more than the normal 10 bullets, so it’s unclear how many total rounds he may have had, police said.

Zach Frye and Tyler Odenkirk told ABC News that two of their friends who worked as security guards at Borderline were among the dead. A Borderline bouncer said they were surely among the heroes.

“I know they did everything they could in their final moments,” the unnamed bouncer said. “We were told one of them went out a hero. He went out fighting the shooter.”